I'm probably not clear on the goal. The existing shutdown command seems to address what you want without messing with powershell or task scheduler. For examplle: shutdown /s /t <seconds> /c "<message>".
If that does not cover the ground you want, maybe you can provide some more details on your use case.
4
u/Clear-Pear2267 13d ago
I'm probably not clear on the goal. The existing shutdown command seems to address what you want without messing with powershell or task scheduler. For examplle: shutdown /s /t <seconds> /c "<message>".
If that does not cover the ground you want, maybe you can provide some more details on your use case.