Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Call Powershell script

arjun0101
Tera Contributor

Hi team,

 

Is there any way run Powershell script file placed at any given location without integration hub ?

 

 

6 REPLIES 6

Adrian Ubeda
Mega Sage

Hello @arjun0101

There's an activity in flow designer for executing powershell script: https://docs.servicenow.com/bundle/vancouver-build-workflows/page/administer/flow-designer/reference...

 

Check also this KBs: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0547043

If it was helpful, please give positive feedback! ✔
☆ Community Rising Star 22, 23 & 24 ☆

MahathiVeeR
Giga Sage

Hi @arjun0101 ,

You can use inbuilt Powershell activity packs/custom packs  which helps in Integrating ServiceNow with the Active directory and other systems through the Orchestration process.

All these run a powershell script in the Midserver.

Attaching documents and a very good community article explaining these activity packs.

https://docs.servicenow.com/bundle/washingtondc-integrate-applications/page/administer/orchestration...


https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/administer/orchestration-ac...

Useful Community article : 

https://www.servicenow.com/community/now-platform-articles/passing-an-object-from-powershell-custom-...

If my answer helped in any way, please mark it as Correct & 👍Helpful

Thanks,

Mahathi

Hi ,

 

thanks for quick response but I think this is Starting with the Washington DC release.

Hi @arjun0101 ,

No they are available since long and we are using 2-3 activities from the above list since years.

So you can utilize them based on your requirement.

If my answer helped in any way, please mark it as Correct & 👍Helpful

Thanks,
Mahathi