This question already has an answer here:
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?