Well, there was not one. Most of the PowerShell cmdlets are dealing with automation of servers and odd ball functions like sleeping a laptop normally would not be a top priority of the Windows Management Foundation / PowerShell group. Enough said...
So, this guide show you how to sleep remote computer with help of PowerShell.
You will learn how to:
You'll also learn more about automated endpoint security and management.
Originally posted - https://www.action1.com/kb/powershell-script-to-sleep-remote-computer.html