Single Server:
$SA =
Get-SPServiceInstance | Where {$_.Status -like “Provisioning”}
$SA -> to check
current setup if you want
$SA.Unprovision()
$SA.Provision()
Multiple Server Setup
$SA =
Get-SPServiceInstance | Where {$_.Status -like “Provisioning”}
$SA -> to check
current setup if you want
$SA.Unprovision()
You may get an error tell you execution code must be run on
server name “…”, but if you check in central admin it actually stop service on this
server. You will then move to next server to repeat above step for all server.
Go back to first server and run $SA.provision() on all server. You may get error execute next server like above, just follow it
until last server and the error is gone.
No comments:
Post a Comment