Skip to content

Add-MailboxAccessOnderwijs

SYNOPSIS

Grant default user rights to an Exchange Online mailbox in the Onderwijs Gent environment.

SYNTAX

Add-MailboxAccessOnderwijs [-Mailboxnaam] <String> [[-Gebruikers] <String[]>] [<CommonParameters>]

DESCRIPTION

The `Add-MailboxAccessOnderwijs` function grants default user rights to an Exchange Online mailbox in the Office 365 environment of Onderwijs Gent. Default rights include full access, send as, and editor rights on the calendar with an invite to enable shared calendar usage on mobile devices with the MS Outlook app.

EXAMPLES

EXAMPLE 1

Add-MailboxAccessOnderwijs -Mailboxnaam [email protected] -Gebruikers [email protected]

Grants default user rights to the mailbox `mailbox@onderwijs.gent.be` for the user `user@onderwijs.gent.be`.

EXAMPLE 2

Add-MailboxAccessOnderwijs -Mailboxnaam [email protected]

Prompts for users to grant permissions to the mailbox `mailbox@onderwijs.gent.be`.

PARAMETERS

-Mailboxnaam

The user principal name or primary SMTP address of the mailbox. The suffix should be `@onderwijs.gent.be`.

Type: String
Parameter Sets: (All)
Aliases: Userprincipalname, UPN, MailboxName

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Gebruikers

An array of user principal names or primary SMTP addresses of the users to grant mailbox permissions to. The suffix should be `@onderwijs.gent.be`.

Type: String[]
Parameter Sets: (All)
Aliases: Users

Required: False
Position: 2
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