Windows 7 N/W comp

Yes there are quite a few ways

  • Use the built-in shutdown.exe with the /m switch
  • Through the WMI Shutdown method on the Win32_OperatingSystem class
  • Through WMI method call via the Powershell cmdlet Invoke-WMIMethod
  • On Windows 10 you can just use the cmdlets Stop-Computer and Restart-Computer
  • You can use the sysinternal tool psshutdown
There are probably others or you could even create your own.
 
Yes there are quite a few ways

  • Use the built-in shutdown.exe with the /m switch
  • Through the WMI Shutdown method on the Win32_OperatingSystem class
  • Through WMI method call via the Powershell cmdlet Invoke-WMIMethod
  • On Windows 10 you can just use the cmdlets Stop-Computer and Restart-Computer
  • You can use the sysinternal tool psshutdown
There are probably others or you could even create your own.

Thanks a lot! GOD BLESS YOU!!!!
 
Back
Top Bottom