jhorsman
10/12/2017 - 7:49 PM

Run iisreset over PowerShell remoting

Run iisreset over PowerShell remoting

Invoke-Command -ComputerName @("server1", "server2") -ScriptBlock {
  Invoke-Expression "iisreset"
}