I tried to write this to one script but didn’t want to work. (Get-WmiObject -Class Win32_Product -Filter “Name=’Symantec Endpoint Protection'” -ComputerName.
Here’s the code for copying and pasting into a script: Uninstall_sep.ps1 – This script actually does the heavy lifting and uninstalls the program The second line takes that information and runs it against Uninstall_sep.ps1. There’s two lines of code, the 1st line get’s the names of the servers from the computerlist.txt file. Invoke-Command -ComputerName $computername -FilePath c:\Scripts\Uninstall_sep.ps1 $computername = Get-Content -Path “C:\scripts\computerlist.txt” Here’s the actual code for copying and pasting into a script: Here’s an example as seen in notepad:įire1.ps1 – The second part of the process is a powershell script I called “Fire1.ps1” (as in sub commander ordering the firing of torpedos “Fire1. It’s just a list of all the servers we’ll be running the script against. PROCESS: The process is broken into three parts, all that work together.Ĭomputerlist.txt – This is the easiest to explain. The following process and procedure has been tried against test servers in the Media News Group environment and works well. If that’s the case with what you’re going to, there doesn’t seem to be an easy way to uninstall Symantec Endpoint protection without going to each and every computer and doing that way. While most offer a tool to remove it, others don’t, and you don’t want two different AV products running on the same server. This method allows you to completely remove third-party anti-virus applications from your computer, but requires you to install the uninstaller tool beforehand.PROBLEM: The reason you might want to uninstall SEP is you’re migrating to another AV tool.
An uninstaller is an application designed specifically to remove other applications. We recommend using this method, as it is the safest and allows you to completely remove third-party anti-virus applications from your computer. Special tools from the developers of the anti-virus application.Remaining files may interrupt the installation or affect the operation of your Kaspersky application. This method does not require you to install or start additional applications, but it may not completely remove the anti-virus application. You can uninstall third-party anti-virus applications using: