Table of Contents

Set-PnPPlannerPlan

SYNOPSIS

Required Permissions

  • Microsoft Graph API: Group.ReadWrite.All

Updates an existing Planner plan.

SYNTAX

By Group

Set-PnPPlannerPlan -Group <PlannerGroupPipeBind> -Plan <PlannerPlanPipeBind> -Title <String> [-Connection <PnPConnection>]

By Plan Id

Set-PnPPlannerPlan -PlanId <String> -Title <String>  [-Connection <PnPConnection>]

DESCRIPTION

This cmdlet updates an existing planner plan.

EXAMPLES

EXAMPLE 1

Set-PnPPlannerPlan -Group "Marketing" -Plan "Conference" -Title "Conference 2020"

This example renames the "Conference" plan to "Conference 2020".

PARAMETERS

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: PnPConnection
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Group

Specify the group id or name of the group owning the plan.

Type: PlannerGroupPipeBind
Parameter Sets: By Group
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Plan

Specify the id or name of the plan to update.

Type: PlannerPlanPipeBind
Parameter Sets: By Group
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PlanId

Specify the id of the plan to update.

Type: String
Parameter Sets: By Plan Id
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Title

The new title of the plan.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Microsoft 365 Patterns and Practices