Cmdlets for ServiceNow

Build 24.0.9060

Select-ServiceNow Cmdlet

Parameters   Output Objects  

Searches ServiceNow data.

Syntax

Select-ServiceNow [parameters]

Remarks

The Select-ServiceNow cmdlet allows you to use a syntax similar to SQL SELECT statements to search ServiceNow data.

$conn = Connect-ServiceNow -OAuthClientId "MyClientId" -OAuthClientSecret "MyClientSecret" -Password "MyPassword" -User "MyUser" -Url "https://MyInstance12345.service-now.com/"
Select-ServiceNow -Connection $conn -Table "incident" -Columns @("sys_id","priority") -Where "category='request'"

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060