Skip to content

Update-MailboxFolderPermissions

SYNOPSIS

Reset all folder permissions within a mailbox.

SYNTAX

Update-MailboxFolderPermissions [-mailboxnaam] <String> [<CommonParameters>]

DESCRIPTION

The `Update-MailboxFolderPermissions` function removes all permissions on folders within the specified mailbox. Only `Anonymous` and `Default` users are left with no access. Users with Full Mailbox Access retain their access. For calendars, `Default` is set to `Free/Busy`. This function ensures a clean state for mailbox folder permissions.

EXAMPLES

EXAMPLE 1

Update-MailboxFolderPermissions -Mailboxnaam "RobotVanDeToekomst"

Resets the folder permissions within the mailbox `RobotVanDeToekomst`.

EXAMPLE 2

"RobotVanDeToekomst" | Update-MailboxFolderPermissions

Resets the folder permissions within the mailbox `RobotVanDeToekomst`.

PARAMETERS

-mailboxnaam

The name of the mailbox whose folder permissions will be reset.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
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.

INPUTS

OUTPUTS

NOTES