Jump to content

problems with psshutdown


Recommended Posts


Last option would be to use a vbs file, copy and paste the following into notepad and save as shutdown.vbs in /install/Tools:

Set OpSysSet = GetObject("winmgmts:{(Shutdown)}//./root/cimv2").ExecQuery("select *from Win32_OperatingSystem where Primary=true")

for each OpSys in OpSysSet
    OpSys.ShutDown()
Next

Execute as:

start %systemdrive%\install\Tools\shutdown.vbs

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...