Skip to content

Commit 82997bb

Browse files
committed
help updates
1 parent 42527f0 commit 82997bb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ServiceNow/Public/Get-ServiceNowRecord.ps1

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
Paging is supported with -First, -Skip, and -IncludeTotalCount.
99
1010
.PARAMETER Table
11-
Name of the table to be queried, by either table name or class name
11+
Name of the table to be queried, by either table name or class name. Use tab completion for list of known tables.
12+
You can also provide any table name ad hoc.
1213
1314
.PARAMETER Properties
1415
Limit the fields returned to this list
@@ -43,9 +44,9 @@
4344
4445
.EXAMPLE
4546
$filter = @('state', '-eq', '1'),
46-
'and',
47+
'-and',
4748
@('short_description','-like', 'powershell'),
48-
'group',
49+
'-group',
4950
@('state', '-eq', '2')
5051
PS > Get-ServiceNowRecord -Table incident -Filter $filter
5152
Get incident records where state equals New and short description contains the word powershell or state equals In Progress.

0 commit comments

Comments
 (0)