关闭本地计算机

Set colOperatingSystems = GetObject("winmgmts:{(Shutdown)}").ExecQuery("Select * from Win32_OperatingSystem")
For Each objOperatingSystem in colOperatingSystems
  ObjOperatingSystem.Win32Shutdown(1)
Next

你可能感兴趣的:(职场,计算机,休闲)