Skip to main content
Get Planner Plan
Updated over 2 weeks ago

Command

Get-PlannerPlan

Description

The command to get planner plans from a Microsoft 365 group.

Examples

Get a plan by name

$tenant = Connect-Tenant -Domain tenantDomain
$group = Get-Microsoft365Group -Name "MyGroup" -Tenant $tenant
Get-PlannerPlan -Name "MyPlan" -Group $group

Get a plan by id

$tenant = Connect-Tenant -Domain tenantDomain
$group = Get-Microsoft365Group -Name "MyGroup" -Tenant $tenant
Get-PlannerPlan -Id "b6pGChvzV0KW_7LY7Sx6JGUAARAx" -Group $group

Get multiple plans by name

$tenant = Connect-Tenant -Domain tenantDomain
$group = Get-Microsoft365Group -Name "MyGroup" -Tenant $tenant
Get-PlannerPlan -Name "MyPlan", "2nd Plan" -Group $group -AllowMultiple

Get multiple plans by id

$tenant = Connect-Tenant -Domain tenantDomain
$group = Get-Microsoft365Group -Name "MyGroup" -Tenant $tenant
Get-PlannerPlan -Id "0JyPrfSq1kWNC4xhAh50RmUAFzQW", "9PQ5FIeLDEq8u4yJdRE4IWUAFVvb" -Group $group -AllowMultiple

Syntax

Get-PlannerPlan
-Group <Microsoft365Group>
[-AllowMultiple <SwitchParameter>]
Get-PlannerPlan
-Name <String[]>
-Group <Microsoft365Group>
[-AllowMultiple <SwitchParameter>]
Get-PlannerPlan
-Id <String[]>
-Group <Microsoft365Group>
[-AllowMultiple <SwitchParameter>]

Parameters

-AllowMultiple <SwitchParameter>

Specifies that multiple Planner plans can be returned by the command.

Required?

False

Default value

None

Accept pipeline input?

False

Accept wildcard characters?

False

Parameter set name

(All)

Aliases

None

-Group <Microsoft365Group>

Specifies the Microsoft 365 group.

Required?

True

Default value

None

Accept pipeline input?

True (ByValue)

Accept wildcard characters?

False

Parameter set name

(All)

Aliases

None

-Id <String[]>

Specifies the id of the Planner plan.

Required?

True

Default value

None

Accept pipeline input?

False

Accept wildcard characters?

False

Parameter set name

Id

Aliases

None

-Name <String[]>

Specifies the name of the Planner plan (wildcards supported).

Required?

True

Default value

None

Accept pipeline input?

False

Accept wildcard characters?

True

Parameter set name

Name

Aliases

None

Did this answer your question?