Cmdlets for Microsoft Planner

Build 24.0.9062

Update-MicrosoftPlanner Cmdlet

Parameters   Output Objects  

Updates Microsoft Planner data.

Syntax

Update-MicrosoftPlanner [parameters]

Remarks

The Update-MicrosoftPlanner cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Microsoft Planner data.

$conn = Connect-MicrosoftPlanner -OrganizationUrl "https://myaccount.crm.dynamics.com/" -OAuthClientId "clientid" -OAuthClientSecret "secret"
Update-MicrosoftPlanner -Connection $conn -Table "Tasks" -Columns @("startDateTime") -Values @("Jon Doe") -Id "6"
The Where parameter can also be used to specify the primary key of the table:
Update-MicrosoftPlanner -Connection $conn -Table "Tasks" -Columns @("startDateTime") -Values @("Jon Doe") -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'" | Update-MicrosoftPlanner -Columns @("TaskId ") -Values @("BCrvyMoiLEafem-3RxIESmUAHbLK 2")

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