Kiln » KilnSupportScripts Powershell Scripts to help monitor a Kiln environment. Contact Fog Creek support before using.
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

bugfix: added token parameter to repair command

Changeset 57dcd44b2fb2

Parent 0714200d90e8

by Profile picture of User 1563Quentin Schroeder <quentin@fogcreek.com>

Changes to one file · Browse files at 57dcd44b2fb2 Showing diff from parent 0714200d90e8 Diff from another changeset...

 
43
44
45
46
 
47
48
49
 
43
44
45
 
46
47
48
49
@@ -43,7 +43,7 @@
  foreach ($repo in $group.repos.childnodes) {   $ixRepo = $repo.ixRepo."#text"   $repoName = $repo.sName."#text" - $URI = "{0}/api/1.0/repo/{1}/repair" -f ($kilnUrl, $ixRepo) + $URI = "{0}/api/1.0/repo/{1}/repair?token={2}" -f ($kilnUrl, $ixRepo, $token)   write-host ("Attempting to repair repo '{0}' (ixRepo: {1})" -f ($repoName, $ixRepo) )   Execute-HTTPPostCommand $URI "a=1"   if (!($?)) {write-host "Failed!!"}