Powershell: Feature Request: Suppress sleep cmdlet

Created on 7 Feb 2018  路  3Comments  路  Source: PowerShell/PowerShell

A caffeinate equivalent on Windows would be nice. It鈥檚 so annoying when you do updates and the computer goes to sleep

Area-Cmdlets-Utility Issue-Question Resolution-Answered

Most helpful comment

There is already a program called NoSleep but I agree, this would be nice to have in PowerShell but it is also difficult because if there was a cmdlet then it would have to work on any OS. I think this should rather be a separate PowerShell cmdlet on the PSGallery. In general, PowerShell is moving into the direction of following an extension model containing only basic cmdlets and the rest being optional module extensions to it.

All 3 comments

There is already a program called NoSleep but I agree, this would be nice to have in PowerShell but it is also difficult because if there was a cmdlet then it would have to work on any OS. I think this should rather be a separate PowerShell cmdlet on the PSGallery. In general, PowerShell is moving into the direction of following an extension model containing only basic cmdlets and the rest being optional module extensions to it.

I'm using this program on Windows, seems to work well.

This issue has been marked as answered and has not had any activity for 1 day. It has been closed for housekeeping purposes.

Was this page helpful?
0 / 5 - 0 ratings