It's a bug in the script...
add a line at line 900:
$activity = 'BeforePatch'
add a line at line 958:
$activity='AfterPatch'
----------- snippet of error --------------
Write-Progress : Cannot bind argument to parameter 'Activity' because it is nul
l.
At D:\Program Files\Microsoft\Exchange Server\bin\ServiceControl.ps1:1017 char:
25
+ write-Progress -Activity <<<< $activity -Id 0 -Status 'Completed' -Completed
+ CategoryInfo : InvalidData: (:) [Write-Progress], ParameterBind
ingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,M
icrosoft.PowerShell.Commands.WriteProgressCommand
No comments:
Post a Comment