- or download this
use Win32::OLE ;
use Win32::OLE qw(EVENTS);
...
}
- or download this
use Win32::OLE qw(EVENTS);
use Win32::Console;
...
}
- or download this
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIM
+V2")
...
Sub SINK_OnCompleted(objObject, objAsyncContext)
WScript.Echo "Event call complete."
End Sub
- or download this
use Win32::OLE qw(EVENTS);
use Win32::Console;
...
print "Done\n";
}
- or download this
----------------------------------------------------------------------
+--------------------------------------
use Win32;
...
1;