Jump to content

Reboot after update product

Go to solution Solved by Marcos,

Recommended Posts

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

This topic is now closed to further replies.
  • Recently Browsing   0 members

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