Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'hibernate
- System.Diagnostics.Process.Start("ShutDown", "/h")
- 'restart
- System.Diagnostics.Process.Start("ShutDown", "/r")
- ''Shell ("Shutdown -r -t 5")
- ' Switches:
- ' -l Log off profile
- ' -s Shut down computer
- ' -r Restart computer
- ' -f Force applications to close
- ' -t Set a timeout for shutdown
- ' -m \\computer name (Shutdown remote computer)
- ' -i Show the Shutdown GUI
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement