Can someone tell me the correct command syntax for how to restart IIS server on a remote server?
I used the below command but throwing an errors:
invoke-command -computername yourremoteservername -scriptblock {iisreset}
Can someone tell me the correct command syntax for how to restart IIS server on a remote server?
I used the below command but throwing an errors:
invoke-command -computername yourremoteservername -scriptblock {iisreset}