< Back
Set-MailboxDefaultPermission
Post
NAME Set-MailboxDefaultPermission
SYNOPSIS
Set the rights on the agenda or calendar of the user Default to Reviewer and a secretary group to Editor
SYNTAX
Set-MailboxDefaultPermission [-UserName] <Object> [-GroupName] <Object> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
This CMDLET sets the mailbox permissions of the agenda (NL) or the calendar (NL) of the mailbox of the user to the
default permissions.
The user Default will be set to Reviewer
The provided group will be set to Editor
PARAMETERS
-UserName <Object>
Provide the name of the user which mailbox permissions will be altered
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-GroupName <Object>
Provide the group name which will be set to editor
Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Author: Michael Zimmerman
Date: 19/02/2018
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Set-MailboxDefaultPermission -UserName test@contoso.com -GroupName Secretariaat
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>$users | %{Set-MailboxDefaultPermission -UserName $_.UserPrincipalName -GroupName $groupname} | out-file
$report -Append
RELATED LINKS
SYNOPSIS
Set the rights on the agenda or calendar of the user Default to Reviewer and a secretary group to Editor
SYNTAX
Set-MailboxDefaultPermission [-UserName] <Object> [-GroupName] <Object> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
This CMDLET sets the mailbox permissions of the agenda (NL) or the calendar (NL) of the mailbox of the user to the
default permissions.
The user Default will be set to Reviewer
The provided group will be set to Editor
PARAMETERS
-UserName <Object>
Provide the name of the user which mailbox permissions will be altered
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-GroupName <Object>
Provide the group name which will be set to editor
Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Author: Michael Zimmerman
Date: 19/02/2018
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Set-MailboxDefaultPermission -UserName test@contoso.com -GroupName Secretariaat
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>$users | %{Set-MailboxDefaultPermission -UserName $_.UserPrincipalName -GroupName $groupname} | out-file
$report -Append
RELATED LINKS