Cmdlets for Microsoft Planner

Build 24.0.9062

Remove-MicrosoftPlanner Cmdlet

Parameters   Output Objects  

Deletes Microsoft Planner data.

Syntax

Remove-MicrosoftPlanner [parameters]

Remarks

The Remove-MicrosoftPlanner cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Microsoft Planner data.

$conn = Connect-MicrosoftPlanner -OrganizationUrl "https://myaccount.crm.dynamics.com/" -OAuthClientId "clientid" -OAuthClientSecret "secret"
Remove-MicrosoftPlanner -Connection $conn -Table "Tasks" -Id "6"
The Where parameter can also be used to specify the primary key:
Remove-MicrosoftPlanner -Connection $conn -Table "exTablePowershell;" -Where "Id = 6"
The primary key can also be passed to the cmdlet along the pipeline:
Select-MicrosoftPlanner -Connection $conn -Table Tasks -Where "TaskId  = 'BCrvyMoiLEafem-3RxIESmUAHbLK'" | Remove-MicrosoftPlanner

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