Does anyone know how to perform IISRESET with Powershell Script? I'm using powerguieditor with powershell 1.0 instlled on a windows 2008 box.
+3
A:
Does IISRESET just restart the W3SVC and Windows Process Activation services? If so, you can restart those services with this PowerShell command:
Restart-Service W3SVC,WAS -force
But some folks don't recommend this.
Keith Hill
2009-11-04 00:00:37
+1
A:
Not sure what you are looking for exactly, but create a script with a body of "iisreset /noforce"
Here's an example: http://technet.microsoft.com/en-us/library/cc785436.aspx
cagreen
2009-11-04 00:05:40