I have a VBS file that is failing on this line:
Set objWMIService = GetObject("WinMgmts:{authenticationLevel=pktPrivacy}
\\myserver\root\MicrosoftIISv2")
with this error:
Microsoft VBScript runtime error: The remote server machine does not
exist or is unavailable: 'GetObject'
where myserver is a Windows 2008 SP2 server. I made sure WMI is running on the server.
What could be wrong?