Cmdlets for Microsoft Planner

Build 25.0.9434

Remove-MicrosoftPlanner Cmdlet

Parameters   Output Objects  

Microsoft Planner データを削除します。

Syntax

Remove-MicrosoftPlanner [parameters]

Remarks

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

$conn = Connect-MicrosoftPlanner -OrganizationUrl "https://myaccount.crm.dynamics.com/" -OAuthClientId "clientid" -OAuthClientSecret "secret"
Remove-MicrosoftPlanner -Connection $conn -Table "Tasks" -Id "6"
Where パラメータは主キーを指定するためにも使われます。
Remove-MicrosoftPlanner -Connection $conn -Table "exTablePowershell;" -Where "Id = 6"
主キーは、パイプライン上でコマンドレットに渡すこともできます。
Select-MicrosoftPlanner -Connection $conn -Table Tasks -Where "TaskId  = 'BCrvyMoiLEafem-3RxIESmUAHbLK'" | Remove-MicrosoftPlanner

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