sorry if this question has already been asked.
How to hibernate a PC with Windows OS for a period of time specified by the user using Powershell scripts? If that's possible.
For example, how to make Windows PC to automatically hibernate during the weekdays and automatically reactivate it for every weekend?
I know that in Linux OS this can be achieved using inbuilt utilities like rtcwake, cron in shell scripts.
How to do this using Powershell/Batch scripts in Windows?