Cmdlets for Google Directory

Build 24.0.9060

Remove-GoogleDirectory Cmdlet

Parameters   Output Objects  

Deletes Google Directory data.

Syntax

Remove-GoogleDirectory [parameters]

Remarks

The Remove-GoogleDirectory cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Google Directory data.

$conn = Connect-GoogleDirectory -InitiateOAuth 'GETANDREFRESH' -OAuthClientId 'OAuthClientId' -OAuthClientSecret 'OAuthClientSecret'
Remove-GoogleDirectory -Connection $conn -Table "Group" -Id "S"
The Where parameter can also be used to specify the primary key:
Remove-GoogleDirectory -Connection $conn -Table "exTablePowershell;" -Where "Id = S"
The primary key can also be passed to the cmdlet along the pipeline:
Select-GoogleDirectory -Connection $conn -Table Group -Where "CustomerId = 'eyt593htjgh'" | Remove-GoogleDirectory

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