Pages

Showing posts with label vbscript to logoff windows. Show all posts
Showing posts with label vbscript to logoff windows. Show all posts

Monday, 29 August 2011

Logoff Windows using VBScript

Following VBScript can be used to Logoff machine. Test it and Enjoy
  
Set WshShell=WScript.CreateObject("WScript.Shell")  
  
 WshShell.run "shutdown.exe -L -F"