Jump to content

Reboot after update product

Go to solution Solved by Marcos,

Recommended Posts

Great thanks

I have a tool for manage reboot in all devices in powershell so I can use powershell in path for test if the device need reboot or not

Link to comment
Share on other sites

i wrote a little Powershell fonction

function PendingRebootEset(){

$EsetFolder = "C:\Program Files\ESET\ESET Security\"
$TestEsetFolder = Test-Path $EsetFolder

    if ($TestEsetFolder -eq $true){
        cd $EsetFolder
        $Reboot = cmd.exe /c ermm get protection-status

        if ($reboot -match "Device restart required"){
            return $true


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...