Inital commit.

This commit is contained in:
2019-11-11 19:22:39 -05:00
parent f89d330f14
commit a052b43b22
80 changed files with 5989 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# Uninstall McAfee Agent
if (Test-Path "${Env:ProgramFiles}\Network Associates\Common Framework\frminst.exe") {
Start-Process "${Env:ProgramFiles}\Network Associates\Common Framework\frminst.exe" -ArgumentList "/forceuninstall" -Wait
}
if (Test-Path "${Env:ProgramFiles}\McAfee\Common Framework\frminst.exe") {
Start-Process "${Env:ProgramFiles}\McAfee\Common Framework\frminst.exe" -ArgumentList "/forceuninstall" -Wait
}
if (Test-Path "${Env:ProgramFiles(x86)}\Network Associates\Common Framework\frminst.exe") {
Start-Process "${Env:ProgramFiles(x86)}\Network Associates\Common Framework\frminst.exe" -ArgumentList "/forceuninstall" -Wait
}
if (Test-Path "${Env:ProgramFiles(x86)}\McAfee\Common Framework\frminst.exe") {
Start-Process "${Env:ProgramFiles(x86)}\McAfee\Common Framework\frminst.exe" -ArgumentList "/forceuninstall" -Wait
}
# Uninstall McAfee ePO-MVT
Start-Process "msiexec.exe" -ArgumentList "/quiet /norestart /x {C47ECFA8-05D1-4E03-82F6-95E99C904165}" -Wait
# Uninstall McAfee Virtual Technician
Start-Process "msiexec.exe" -ArgumentList "/quiet /norestart /x {166E180E-9A3F-41AE-8B40-22D8FFF4AF87}" -Wait