Thanks tsuji
But that's what I'm currently doing, but shutdown scripts don't run.
set objWMI = GetObject("winmgmts:{impersonationLevel=impersonate}!//" & strComputer & "")
set colOS = objWMI.ExecQuery("Select * from Win32_ComputerSystem")
Set objWMIService =...
I am familiar with using the shutdown -m command and the WMI method of shutting down a remote computer. The problem with both of these is that neither allow shutdown scripts to run. Does anyone know of a method to shutdown a remote computer while allowing shutdown scripts to run?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.