You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throw"Exception: You must do one of the following to authenticate: `n 1. Call the Set-ServiceNowAuth cmdlet `n 2. Pass in an Azure Automation connection object `n 3. Pass in an endpoint and credential"
286
+
}
287
+
288
+
$Body=$Values|ConvertTo-Json;
289
+
290
+
#Convert to UTF8 array to support special chars such as the danish "�","�","�"
Copy file name to clipboardExpand all lines: PSServiceNow.psd1
+18-3Lines changed: 18 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
RootModule='PSServiceNow.psm1'
13
13
14
14
# Version number of this module.
15
-
ModuleVersion='0.1.12'
15
+
ModuleVersion='0.1.13'
16
16
17
17
# ID used to uniquely identify this module
18
18
GUID='b90d67da-f8d0-4406-ad74-89d169cd0633'
@@ -80,8 +80,23 @@ FunctionsToExport = '*'
80
80
# List of all files packaged with this module
81
81
# FileList = @()
82
82
83
-
# Private data to pass to the module specified in RootModule/ModuleToProcess
84
-
# PrivateData = ''
83
+
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
84
+
PrivateData=@{
85
+
86
+
PSData=@{
87
+
88
+
# Tags applied to this module. These help with module discovery in online galleries.
This PowerShell module provides a series of cmdlets for interacting with the [ServiceNow REST API](http://wiki.servicenow.com/index.php?title=REST_API), performed by wrapping `Invoke-RestMethod` for the API calls.
4
-
**IMPORTANT:** Neither this module, nor its creator are in any way affiliated with ServiceNow.
4
+
**IMPORTANT:** Neither this module nor its creator are in any way affiliated with ServiceNow.
5
5
6
6
## Requirements
7
7
Requires PowerShell 3.0 or above as this is when `Invoke-RestMethod` was introduced.
The module can use the `Connection` parameter in conjunction with the included `PSServiceNow-Automation.json` file for use as an Azure automation integration module. Details of the process is available at [Authoring Integration Modules for Azure Automation](https://azure.microsoft.com/en-us/blog/authoring-integration-modules-for-azure-automation).
29
35
@@ -43,6 +49,9 @@ The `Connection` parameter accepts a hashtable object that requires a username,
43
49
* Remove-ServiceNowTableEntry
44
50
* Set-ServiceNowAuth
45
51
* Test-ServiceNowAuthIsSet
52
+
* Update-ServiceNowChangeRequest
53
+
* Update-ServiceNowIncident
54
+
* Update-ServiceNowTableEntry
46
55
47
56
## Tests
48
57
This module comes with [Pester](https://github.com/pester/Pester/) tests for unit testing.
0 commit comments