Executing PowerShell Script via ecc_queue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2012 01:09 AM
My goal is to execute PowerShell Script (dynamically prepared by a business rule/workflow) on the MID Server without having Runbook Plug-in enabled.
I would like to execute a PowerShell Script through ecc_queue message in the same way as we execute programs/commands in Command Line (http://wiki.servicenow.com/index.php?title=ECC_Queue_Command_Line_Worker)
What should be the "Topic" field value in this case? For command line it is "Command".
Or I should go for Runbook Plug-in anyway?
- Labels:
-
Service Mapping

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2012 09:55 AM
ServiceNow's official stance on this is likely to be Runbook. You will receive a huge library of ServiceNow upgradeable/supportable automation tools that will make this much simpler to implement than attempting to build custom tools of your own.
However, if you set Topic "Powershell" and configure the MID server to use PS, you can do it that way. The parameter node still works the same as described in the Wiki link above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2012 10:14 AM
Thanks Tony. I'll give it a try.