How can a required reboot be detected for Windows 7

后端 未结 3 1859
梦如初夏
梦如初夏 2020-12-10 04:43

I am working on a project where several software and drivers are installed on a windows 7 PC. This shall work without user inputs.

Now there is the question: How can

3条回答
  •  生来不讨喜
    2020-12-10 04:48

    The "PendingReboot" module incorporates all the mentioned tests (+ CCM WMI probe) into a single convenient cmdlet to reliably detect pending reboot:

    # Install
    Install-Module -Name PendingReboot
    
    # Run
    Test-PendingReboot -Detailed
    

提交回复
热议问题