Ever wanted to remove all the Altiris agents from a system in order to troubleshoot or re-install?
With the attached script you can do just that. Optionally you can also re-install the Altiris agent. Currently this function is commented out.
You'll need to do a few things, such as change the server names to your own, change the GUIDs at the end of the script to match your own, and prep copies of "AeXAgentUtil.exe" & "AeXNSC.exe" into a folder named "AltirisTeamSourceFiles$" on your source server.
Special thanks to Nick from Altirigos.com for providing the original script.