Ps1 TS script
Question
- Hi Team,
I just want a ps1 script command like
Output of a TS powershell script is pending for reboot then those machines need to reboot
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Answers ( 2 )
Hello, Can you try to check the below link for Get-PendingReboot – Query Computer(s) For Pending Reboot State
http://web.archive.org/web/20200318043516/https://gallery.technet.microsoft.com/scriptcenter/Get-PendingReboot-Query-bdb79542
Please test it before whether you are able to get your requirements or not! let us update with detailed points