Ps1 TS script

Question
  1. 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

Answers ( 2 )

    0
    2021-06-02T22:01:13+05:30

    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

    Best answer

Leave an answer

Sorry, you do not have permission to answer to this question .