Remove-MicrosoftPlanner Cmdlet
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