We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59d06b7 commit 33917daCopy full SHA for 33917da
ServiceNow/Public/New-ServiceNowIncident.ps1
@@ -19,15 +19,15 @@ function New-ServiceNowIncident{
19
$IncidentParams = @{Caller = "UserName"
20
ShortDescription = "New PS Incident"
21
Description = "This incident was created from Powershell"
22
- AssignmentGroup "ServiceDesk"
23
- Comment "Inline Comment"
24
- Category "Office"
25
- Subcategory "Outlook"
26
- ConfigurationItem UserPC1
+ AssignmentGroup = "ServiceDesk"
+ Comment = "Inline Comment"
+ Category = "Office"
+ Subcategory = "Outlook"
+ ConfigurationItem = UserPC1
27
CustomFields = @{u_custom1 = "Custom Field Entry"
28
u_another_custom = "Related Test"}
29
}
30
- New-ServiceNowIncident @Params
+ New-ServiceNowIncident @IncidentParams
31
32
#>
33
0 commit comments