Table of Contents

Get-PnPPlannerBucket

SYNOPSIS

Required Permissions

  • Microsoft Graph API: One of Tasks.Read, Tasks.ReadWrite, Tasks.Read.All, Tasks.ReadWrite.All, Group.Read.All, Group.ReadWrite.All

Returns all or a specific Planner bucket

SYNTAX

By Group

Get-PnPPlannerBucket -Group <PlannerGroupPipeBind> -Plan <PlannerPlanPipeBind>
 [-Identity <PlannerBucketPipeBind>] 

By Plan Id

Get-PnPPlannerBucket -PlanId <String> [-Identity <PlannerBucketPipeBind>] 
 

DESCRIPTION

This cmdlets returns all or a specific bucket in a Planner plan.

EXAMPLES

Example 1

Get-PnPPlannerBucket -Group "Marketing" -Plan "Conference Plan"

This will returns all buckets in the specified plan

PARAMETERS

-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

-Identity

The identity of the bucket to retrieve

Type: PlannerBucketPipeBind
Parameter Sets: (All)
Aliases:

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

-PlanId

The plan id of the plan containing the bucket

Type: String
Parameter Sets: By Plan Id
Aliases:

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

-Plan

The name or id of the plan containing the bucket.

Type: PlannerPlanPipeBind
Parameter Sets: By Group
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Microsoft 365 Patterns and Practices