You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggesting to add a check if the wuauserv service is running.
It is not running by default in my org.
Get status around line 155 $wuSvsStatus = (get-service suauserv).Status
Before issuing cmdlet Restart-Service, check if $wuSvsStatusis -eq "Running"
Else Start-Service suauserv
And then in the finalizing of each parameter option, in the same place as the reset of the registry entry ("UseWuServer"), return the service it to it's original state. Running if running, and stopped if stopped.
The text was updated successfully, but these errors were encountered:
Suggesting to add a check if the wuauserv service is running.
It is not running by default in my org.
Get status around line 155
$wuSvsStatus = (get-service suauserv).Status
Before issuing cmdlet
Restart-Service
, check if$wuSvsStatusis -eq "Running"
Else
Start-Service suauserv
And then in the finalizing of each parameter option, in the same place as the reset of the registry entry ("UseWuServer"), return the service it to it's original state. Running if running, and stopped if stopped.
The text was updated successfully, but these errors were encountered: