Problem
You wish to shut down the Integration Server via a script or via the command line.
Solution
Either use the utility from wmusers.com shareware downloads http://www.wmusers.com/software/uploads/1258wmshutdown_6_x.zip or generate a thick client to invoke the wm.server.admin:shutdown.