Hello Click Click,
Thank you for posting in Q&A forum.
It seems that PsShutdown has some compatibility issues with Windows 11 Pro, you can use alternative methods to put your system to sleep from the command line.
1.Using PowerShell: You can use the following PowerShell command to put your computer to sleep:
Start-Sleep -Seconds 5
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
2.Using Command Prompt: You can create a shortcut or run the following command in Command Prompt:
rundll32.exe powrprof.dll,SetSuspendState Sleep
3.Using shutdown Command: Although shutdown is typically used for shutting down or restarting, you can use it to hibernate, which is similar to sleep:
shutdown /h
If you still prefer using PsShutdown, ensure you have the latest version (v2.6) as it includes some fixes. You can download it from the Sysinternals website.
Reference:
PSShutdown - Windows 11 Compatibility #485 - GitHub
PsShutdown - Sysinternals | Microsoft Learn
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best Regards,
Daisy Zhou
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.