Page History
...
All of these updates can be completed through WebUI, but they can also be triggered using the
Spacevars | ||
---|---|---|
|
...
Code Block |
---|
### 6. Apply the update include into the Latest Sonus Windows Update pack $url = "https://$NodeUrl/rest/sbaconfig?action=installwindowsupdates" $Result = Invoke-RestMethod -Uri $url -Method POST -Body "" -WebSession $ps if ((BasicHandler $Result) -ne 1) { write-host $ActualStep" Failed: "(BasicHandler $Result) return 0 } if ((LookCompletionStatus $NodeUrl $ps) -ne 1) { write-host $ActualStep" Failed: "(BasicHandlerCurl $Result) return 0 } break; } 3 {write-host "Wait for a install to end"; Start-Sleep -m 3; break;} 4 {write-host "Wait for a final status"; Start-Sleep -m 3; break;} default {write-host "Found an unpredictable state for the Update. Shutdown..."; return 0} } } |
...
Pagebreak |
---|
Overview
Content Tools