Cmdlets for Google Contacts

Build 23.0.8839

Update-GoogleContacts Cmdlet

Parameters   Output Objects  

GoogleContacts データを更新します。

Syntax

Update-GoogleContacts [parameters]

Remarks

Update-GoogleContacts コマンドレットを使って、SQL UPDATE ステートメントに似た構文を用いてGoogleContacts データを更新できます。

$conn = Connect-GoogleContacts
Update-GoogleContacts -Connection $conn -Table "[My Contacts]" -Columns @("HomeEmailAddresses") -Values @("Jon Doe") -Id "1"
Where パラメータはテーブルの主キーを指定するためにも使われます。
Update-GoogleContacts -Connection $conn -Table "[My Contacts]" -Columns @("HomeEmailAddresses") -Values @("Jon Doe") -Where "Id = '1'"
主キーは、パイプライン上でコマンドレットに渡すこともできます。
Select-GoogleContacts -Connection $conn -Table [My Contacts] -Where "Id = 'c7782206569106794554'" | Update-GoogleContacts -Columns @("Id") -Values @("c7782206569106794554 2")

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