ServiceNow

This PowerShell module provides a series of cmdlets for interacting with the ServiceNow REST API.
IMPORTANT: Neither this module nor its creator are in any way affiliated with ServiceNow.
Requirements
Requires PowerShell 5.1 or above.
Requires authorization in your ServiceNow tenant. Due to the custom nature of ServiceNow your organization may have REST access restricted. The following are some tips to ask for if you're having to go to your admin for access:
- Out of the box tables should be accessible by granting the
ITIL role.
- Custom tables may require adjustments to the ACL.
- The
Web_Service_Admin role may also be an option.
Usage
The ServiceNow module should be installed from the PowerShell Gallery with Install-Module ServiceNow.
A docker image is also available with Microsoft's PowerShell base image and the ServiceNow module preinstalled. The following environment variables should be used:
- SNOW_SERVER: the ServiceNow instance, eg. instance.service-now.com
- SNOW_TOKEN: pre-generated oauth token. Provide this or SNOW_USER/SNOW_PASS.
- SNOW_USER: username to connect to SNOW_SERVER
- SNOW_PASS: password for SNOW_USER