How to remove Netwrix Event Log agent from multiple servers

Email It to Me Print this Page
Question We used to use Netwrix Auditor - Generic (Event Log Management) events and Netwrix Auditor for User logons with agents, but we do not use them any more.

But agents are still installed on the servers, so  we need a method to safely automate the removal of the service from all servers.
Answer The agents are registered as services, so it is reccomended to use sc.exe to remove services.

Find attached a Powershell script that will remove Netwrix agents from all servers in the specified list.

The script requires a list of servers in a text file as input.

Example: .\Remove.ps1 -list D:\Servers.txt
Related attachment
Last Modified: Jan 07, 2014  |   Size: 356 b
Was this information helpful?