Should do the trick , just use WshShell to run shutdown command.
Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "C:\windows\system32\shutdown.exe /l", 0, false
Should do the trick , just use WshShell to run shutdown command.
Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "C:\windows\system32\shutdown.exe /l", 0, false