PC sleep command in Windows 10

0

How can I make a Windows 10 PC sleep from Command Prompt or PowerShell? For example, to shutdown PC we can use the following:

shutdown /s /f 

or to hibernate...

shutdown /h /f

Is there any command like these to make computer sleep?

DAF

Posted 2019-01-15T12:27:41.893

Reputation: 67

Question was closed 2019-01-17T19:38:18.460

Hmm, and I was thinking it was a duplicate of Is there a command line tool to put Windows... to sleep? which is, itself, marked as a duplicate.

– TOOGAM – 2019-01-15T12:44:56.087

See this....https://winaero.com/blog/how-to-sleep-windows-10-from-the-command-line/

– Moab – 2019-01-15T14:01:35.280

1

Run command as an administrator and run psshutdown -d -t 0 to suspend the computer and make it sleep, more parameter could refer to this Psshutdown

– yilia zhao – 2019-01-16T04:43:58.873

No answers