Skip to content

Commit 33917da

Browse files
fix example splat
1 parent 59d06b7 commit 33917da

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ServiceNow/Public/New-ServiceNowIncident.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ function New-ServiceNowIncident{
1919
$IncidentParams = @{Caller = "UserName"
2020
ShortDescription = "New PS Incident"
2121
Description = "This incident was created from Powershell"
22-
AssignmentGroup "ServiceDesk"
23-
Comment "Inline Comment"
24-
Category "Office"
25-
Subcategory "Outlook"
26-
ConfigurationItem UserPC1
22+
AssignmentGroup = "ServiceDesk"
23+
Comment = "Inline Comment"
24+
Category = "Office"
25+
Subcategory = "Outlook"
26+
ConfigurationItem = UserPC1
2727
CustomFields = @{u_custom1 = "Custom Field Entry"
2828
u_another_custom = "Related Test"}
2929
}
30-
New-ServiceNowIncident @Params
30+
New-ServiceNowIncident @IncidentParams
3131
3232
#>
3333

0 commit comments

Comments
 (0)