Cmdlets for PingOne

Build 25.0.9434

Update-PingOne Cmdlet

Parameters   Output Objects  

Updates PingOne data.

Syntax

Update-PingOne [parameters]

Remarks

The Update-PingOne cmdlet allows you to use a syntax similar to SQL UPDATE statements to update PingOne data.

$conn = Connect-PingOne -AuthScheme 'OAuth' -WorkerAppEnvironmentId 'eebc33a8-xxxx-4f3a-yyyy-d3e5262fd49e' -Region 'NA' -OAuthClientId 'client_id' -OAuthClientSecret 'client_secret'
Update-PingOne -Connection $conn -Table "[CData].[Administrators].Users" -Columns @("Email") -Values @("Jon Doe") -Id "39ef9b6f-5973-4701-bd19-7950d4b7d6e0"
The Where parameter can also be used to specify the primary key of the table:
Update-PingOne -Connection $conn -Table "[CData].[Administrators].Users" -Columns @("Email") -Values @("Jon Doe") -Where "Id = '39ef9b6f-5973-4701-bd19-7950d4b7d6e0'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-PingOne -Connection $conn -Table [CData].[Administrators].Users -Where "Id = '39ef9b6f-5973-4701-bd19-7950d4b7d6e0'" | Update-PingOne -Columns @("Id") -Values @("39ef9b6f-5973-4701-bd19-7950d4b7d6e0 2")

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434