Table of Contents

Remove-PnPPlannerBucket

SYNOPSIS

Required Permissions

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

Removes a planner bucket

SYNTAX

By Name

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

By Bucket Id

Remove-PnPPlannerBucket -BucketId <String> -Identity <PlannerBucketPipeBind>
 [-Confirm] 

DESCRIPTION

This cmdlet removes a Planner bucket.

EXAMPLES

Example 1

Remove-PnPPlannerBucket -Group "Marketing" -Plan "Conference" -Identity "Pre-conference Todos"

This removes the "Pre-conference Todos" bucket from the specified plan.

PARAMETERS

-BucketId

The id of a bucket to remove

Type: String
Parameter Sets: By Bucket Id
Aliases:

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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 Name
Aliases:

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

-Identity

Specify the id or name of the bucket.

Type: PlannerBucketPipeBind
Parameter Sets: (All)
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 owning the bucket.

Type: PlannerPlanPipeBind
Parameter Sets: By Name
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