Call Powershell script

arjun0101
Tera Contributor

Hi team,

 

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

 

 

5 REPLIES 5

Adrian Ubeda
Mega Sage
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 ☆

Mahathi
Mega Sage
Mega 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