I just answered a similar question this morning which might help you.
https://forum.bigfix.com/t/easily-work-with-bigfix-apis-in-powershell/29483/7
Depending upon how your doing your decommissioning, if you have the ability to call out to the REST API, you can automate this.