You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
You are viewing the article in preview mode. It is not live at the moment.
Home > 320: Browser Router > Knowledge base > 01: Installation and Uninstallation > 02: I’m using SCCM to deploy the PP CSE. I want to ensure that Internet Explorer is closed during the installation of PPBR to prevent IE questions of users if they are logged in. What should I do?
02: I’m using SCCM to deploy the PP CSE. I want to ensure that Internet Explorer is closed during the installation of PPBR to prevent IE questions of users if they are logged in. What should I do?
print icon

You can use the snippet of code within SCCM to test to see if IE is closed and then if it is, only then install the PP CSE.

Do {
$ieCheck = Get-Process iexplore -ErrorAction SilentlyContinue
If ($ieCheck -eq $null) {
msiexec /i ‘PolicyPak Client-Side Extension x64.msi’ /q
#Write-Host ‘Installing’
Start-Sleep -s 600
Exit
}
else {
#Write-Host ‘IE Open’
Start-Sleep -s 600
}
} while ($ieCheck -ne $null)

Feedback
0 out of 1 found this helpful

scroll to top icon