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
Copy file name to clipboardExpand all lines: Readme.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Creating a new session will create a script scoped variable `$ServiceNowSession`
28
28
29
29
Basic authentication with just a credential...
30
30
```PowerShell
31
-
$params @{
31
+
$params = @{
32
32
Url = 'instance.service-now.com'
33
33
Credential = $userCred
34
34
}
@@ -37,7 +37,7 @@ New-ServiceNowSession @params
37
37
38
38
Oauth authentication with user credential as well as application/client credential. The application/client credential can be found in the System OAuth->Application Registry section of ServiceNow.
0 commit comments