1 var WShell = WScript.CreateObject("WScript.Shell"); 2 WShell.Run("rundll32.exe powrprof.dll,SetSuspendState");