Hi Burke,
While that's an interesting approach, running vCO on a Windows server is not an option for us for a number of reasons I'll not get into here. Consequently, Joerg's method to use command-line tools won't work for us (nor would, say, using a PowerCLI cmdlet or batch script on a remote server).
Basically, I'm looking for the plugin to work as advertised:
If Orchestrator exposes the functionality to destroy an object, one would think that it would, in general, destroy that object. If it's a concern about deleting sub-objects (eg. Shared printers or folders), an option should be exposed to the user to recursively delete such objects; a simple boolean 'recurse' should suffice, with a suitable warning about the potential side-effects of the command to be executed.
Maybe somebody from VMware can comment?