Releases: Snow-Shell/servicenow-powershell
Releases · Snow-Shell/servicenow-powershell
v3.4.0
- Add
New-ServiceNowChangeTask
, #103 - Add GraphQL support including
New-ServiceNowSession -GraphQL
andInvoke-ServiceNowGraphQL
, the latter is a WIP - Update custom variable format with
Get-ServiceNowRecord -IncludeCustomVariable
. The new format adds each custom variable as an object property as opposed to an array of hashtables. Old:$response.CustomVariable.where{$_.name -eq 'mycustvar'}.value
, New:$response.CustomVariable.mycustvar.value
. Access the new format with-IncludeCustomVariable -New
v3.3.0
- Add docker image with each new build and publish to dockerhub. Add the below environment variables to
Get-ServiceNowAuth
for use with docker image, but could be used outside of it as well.- 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
v3.2.0
v3.1.11
v3.1.10
v3.1.9
- Fix #172,
Get-ServiceNowRecord -IncludeCustomVariable
not returning values Get-ServiceNowRecord -IncludeCustomVariable
'variable.' prefix has been removed from custom variable property name.- Add pipeline functionality to
-Id
parameter ofGet-ServiceNowRecord
- Fix
Get-ServiceNowRecord -AsValue
causing error with some values
v3.1.7
- Add
AsValue
parameter toGet-ServiceNowRecord
to return the underlying value for a property instead of a pscustomobject. Get your sys_id directly! - Add formatting for Unique Certificate (cmdb_ci_certificate) table
v3.1.6
- Add
AsValue
parameter toExport-ServiceNowAttachment
to return attachment contents instead of writing to a file
v3.1.5
- Add table name translation to
Get-ServiceNowAttachment
where sys_class_name does not match table name - Change .endswith operator from % to ENDSWITH as % was not working