Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

How to restart IIS server on a remote server?

$
0
0

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}

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles