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?

marked as duplicate by Ramhound, Moab, Run5k, Debra, Dave M Jan 17 at 19:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.