This PowerShell script automates the complete removal of New Relic from a Windows system. It uninstalls the program, removes related services, deletes associated registry entries, and cleans up directories.
- Uninstalls New Relic by name
- Stops and removes New Relic services
- Deletes registry entries related to New Relic
- Removes directories containing New Relic files
- PowerShell 5.0 or later
- Administrator privileges
- Download the script file: Save the script to your local machine.
- Open PowerShell with administrative privileges: Right-click on the PowerShell icon and select "Run as administrator".
- Navigate to the script location: Use
cd
command to change the directory to where the script is located. - Run the script:
.\NewRelicCleanup.ps1
This project is licensed under the AGPL-3.0 License - see the LICENSE.md file for details.