- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2022 11:25 AM
Hi,
I need to execute a Powershell script directly on the MID server (not use the MID server as a proxy and execute Powershell on a different server). What's the easiest way to do this? I planned on triggering the execution through a scheduled job, but if there's an easier way, I can probably adapt.
I looked at the Powershell Step in Flow Designer, but I'm not really sure how I would achieve the execution directly ON the mid server - would I just create a connection alias for the mid server?
Any help is greatly appreciated,
Max
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2022 11:34 AM
Check below article which has steps to run PS script from instance
https://community.servicenow.com/community?id=community_article&sys_id=0cf18778dbb348d4f7fca851ca961998
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2022 11:34 AM
Check below article which has steps to run PS script from instance
https://community.servicenow.com/community?id=community_article&sys_id=0cf18778dbb348d4f7fca851ca961998
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2022 04:41 PM
That was helpful, thanks.