How can restart IIS on a remote machine?
IIS
I know the IP address and administrator user\'s user name and password information.
I am using C#
C#
The following POSH script will allow you to asynchronously reset a set of machines remotely (very handy when working with a large set):
$a = Get-Content "c:\OneMachineNamePerLine.txt" foreach($line in $a) { Start-Job -ScriptBlock { iisreset $line } }