ServiceNow PowerShell Module

Chris_Samuels
Tera Contributor

Hey all,

     I am a sys admin on my company's VMware and Infrastructure team (I do not manage our ServiceNow instance at all, I'm just an end user). I need to write some scripts for VMware automation that reads data from ServiceNow requests. VMware has a powerful PowerShell module that will allow me to do everything I need on the VMware side of things, but I'm not sure about PowerShell module support on the ServiceNow side.

 

     Is there an official PowerShell module for ServiceNow that I should be using? And where can I find the documentation for all of the cmdlets that are included and how to use them?

     The PowerShell Gallery lists 9 separate modules when doing a search for 'ServiceNow'. (click the link to be brought directly to the search results page)

1 REPLY 1

Mahathi
Mega Sage
Mega Sage

Hi @Chris_Samuels ,

We do have Powershell scripting available in ServiceNow.

We have inbuilt Powershell activities available as part of the workflows, you can connect to other systems like active directory to write and read from them.

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

Attaching documents on the Powershell Activity packs available : 

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

Adding on a community article: 

https://www.servicenow.com/community/developer-articles/execute-powershell-script-from-servicenow/ta...

 

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

Thanks,
Mahathi