-server parameter was missing for the wait-task function
This commit is contained in:
1 parent
2a96855d03
commit
758b80f6b8
1 file changed
+1
-1
@@ -313,7 +313,7 @@ function Set-VMCPSettings {
|
||||
# Wait for the reconfiguration task to finish to show the result
|
||||
If ($Task) {
|
||||
$TaskID = "Task-" + $($Task.Value)
|
||||
Get-Task -Id $TaskID | Wait-Task | Out-Null
|
||||
Get-Task -Id $TaskID -Server $Server | Wait-Task | Out-Null
|
||||
Get-VMCPSettings -Cluster $CL -Server $Server
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user