Cmdlets for Exact Online

Build 23.0.8839

Remove-ExactOnline Cmdlet

Parameters   Output Objects  

Exact Online データを削除します。

Syntax

Remove-ExactOnline [parameters]

Remarks

Remove-ExactOnline コマンドレットを使って、SQL DELETE ステートメントに似た構文を用いてExact Online データを削除できます。

$conn = Connect-ExactOnline -Region 'United States' -Division '5512'
Remove-ExactOnline -Connection $conn -Table "Accounts" -Id "a1f7b7c1-1ea9-4305-82b8-ab482db90a5f"
Where パラメータは主キーを指定するためにも使われます。
Remove-ExactOnline -Connection $conn -Table "exTablePowershell;" -Where "Id = a1f7b7c1-1ea9-4305-82b8-ab482db90a5f"
主キーは、パイプライン上でコマンドレットに渡すこともできます。
Select-ExactOnline -Connection $conn -Table Accounts -Where "City = 'Raleigh'" | Remove-ExactOnline

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