Update-MailboxFolderPermissions
SYNOPSIS
Reset all folder permissions within a mailbox.
SYNTAX
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
Resets the folder permissions within the mailbox `RobotVanDeToekomst`.
EXAMPLE 2
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.