You don't mention what version you are on but hopefully this will work. Take a look at this link to groupwise 6.x uninstall on AppDeploy.com. If you create a script that uses the command line indicated here you might get what you need.
Mark Star - MarXtar LANDesk Enhancements
Home of Power State Notifier & Wake-On-WAN for LANDesk