B
bubslg
I've got a script that goes through a list of servers and grabs dirve
info from them. The script usually works fine except when it hits a
server that WMI is acting goofy on.
Out of a list of ~250 servers, this call will hang on 2-3 servers.
$WMIServices = Win32::OLE->GetObject("winmgmts:
{impersonationLevel=impersonate}!//$Server/root/cimv2")
Any ideas how to get around this? Is ther a way to force this call to
timeout and move on?
Thanks
info from them. The script usually works fine except when it hits a
server that WMI is acting goofy on.
Out of a list of ~250 servers, this call will hang on 2-3 servers.
$WMIServices = Win32::OLE->GetObject("winmgmts:
{impersonationLevel=impersonate}!//$Server/root/cimv2")
Any ideas how to get around this? Is ther a way to force this call to
timeout and move on?
Thanks