Releases: Snow-Shell/servicenow-powershell
Releases · Snow-Shell/servicenow-powershell
Release list
v2.4 - New CI
2.4
- Add
New-ServiceNowConfigurationItem, #109 - Add grouping operators -and and -group as well as comparison operators -startwith and -endswith to
Get-ServiceNowRecord -Filterto keep with the -operator standard - Add tab ahead/completion for the
-Tableproperty inGet-ServiceNowRecord. This will allow you to cycle through the different tables the module is aware of. The values are the 'common' names, not table names so it's easier to understand for beginners. You can also provide any other table name ad hoc. - Add Change Task to formatter and tab ahead
- Fix null index error when executing
New-ServiceNowQuerywithout providing a value for-Sort - Fix #136 to account for PS v7.x Invoke-WebRequest response headers all being arrays
2.3.2
- Added ability to pipe to
Add-ServiceNowAttachmentandGet-ServiceNowAttachmentDetail. For example,New-ServiceNowIncident @params -PassThru | Add-ServiceNowAttachment -File MyFile.txt. This will create an incident and add an attachment in one step.
2.3.1
- Fix query operator -notin and -notlike which had a missing space
- Move verbose logging message in
Invoke-ServiceNowRestMethodfor number of records so it always shows. This is helpful when you change a filter and can see how many records would be returned without actually returning them.
v2.3 - Paging support
- Add paging support to all
Get-functions. Use-First,-Skip, and-IncludeTotalCountparameters. In support of this, api calls have been changed from Invoke-RestMethod to Invoke-WebRequest. - Additional pipline support added for Table and SysId parameters to pipe
Get-functions toUpdate-andRemove-. - Breaking change: deprecate
-Limitparameter. The warning regarding deprecation went out over 2 years ago and now that paging has been implemented, it's a good time for this cleanup. Use-Firstinstead. - 'TableEntry' renamed to 'Record' for
New-,Update-, andRemove-functions. Aliases added.
v2.2 - Advanced filtering and sorting
- Add advanced filtering and sorting. Initially implemented with
New-ServiceNowQueryandGet-ServiceNowRecord. Filter with many different comparison operators as well as 'and', 'or', and 'group'ing. Sort ascending or descending against multiple fields. Comparison operators are the same as PowerShell for ease of use. Please use the GitHub Discussions section to provide feedback, thoughts, etc. - Add
Get-ServiceNowRecord. This function implements the new advanced filtering and sorting. As long as you know your table name, this can replace all other Get functions. - Enumerate implemented tables and advanced filtering operators in a json config to easily manage going forward; make available via script scoped variables.
Be able to reference types from this config per table, removing the need to have separate Get functions for every table. - Add type for catalog task
- Fix error when getting an empty result from the api and performing a type lookup
- Rename
RequestItemtoRequestedItemwhich is the actual name. Function aliases created.
v2.1 - Add Proxy support
v2.0 - OAuth and different api versions support
- Although still in the module for backward compatibility,
Set-ServiceNowAuthis being replaced withNew-ServiceNowSession. With this comes OAuth support, removal of global variables, and much more folks have asked for. The ability to provide credentials directly to functions has been retained for this release, but will be deprecated in a future release in favor of usingNew-ServiceNowSession. - Support for different api versions.
Set-ServiceNowAuthwill continue to use v1 of the api, butNew-ServiceNowSessiondefaults to the latest. Check out the-ApiVersionparameter ofNew-ServiceNowSession. Remove-ServiceNowAuthhas been retained for this release, but as global variables have been removed, there is no longer a need for it; it will always return$true. It will be removed in a future release.-PassThruadded to remainingUpdate-andNew-functions. Depending on your code, this may be a breaking change if you expected the result to be returned.- Pipeline support added to many functions
- Standardizing on coding between all functions
v1.8.1 - Updates to support new organization
Now that this project has been moved to an organization, all the links and other references needed to be updated. No functionality changes in this release.