Export-MailboxFASAPermissions
1.9.1
This script requires the Exchange tools to run.
It exports the following Exchange Mailbox permissions in a CSV file
- Send As
- Full Access
- Send On Behalf To
in order to be able to import them later in another environment using
the output CSV file.
The Output CSV file will contain the following information for each mailbox permissions
information exported:
Disp
It exports the following Exchange Mailbox permissions in a CSV file
- Send As
- Full Access
- Send On Behalf To
in order to be able to import them later in another environment using
the output CSV file.
The Output CSV file will contain the following information for each mailbox permissions
information exported:
Disp
This script requires the Exchange tools to run.
It exports the following Exchange Mailbox permissions in a CSV file
- Send As
- Full Access
- Send On Behalf To
in order to be able to import them later in another environment using
the output CSV file.
The Output CSV file will contain the following information for each mailbox permissions
information exported:
Display Name, Primary SMTP Address, Full Access permissions, Send As permissions, Send On Behalf permissions
The permissions can have one or more entries, which will be separated by semicolons (";")
To import back the permissions if needed , you can use the associated Import-MailboxFASAPermissions.ps1
script.
Since the Send As and Full Access permissions can be granted to non-mailbox or
non-mail enabled users, these are stored in the CSV in the form of DOMAIN\Alias.
On the other hand, the Send On Behalf permission can be granted only to mailbox-enabled users,
mail-enabled users and/or mail-enabled security groups only. For some reason, it is stored in
the form of DOMAIN\OU1\Sub-OU1\...\Name - then, the script is designed to convert these - actually
the script resolve these using Get-Mailbox -Identity DOMAIN\OU\...\Name to get and store the
PrimarySMTPAddress of these users so that we have two advantages:
> Not only we are sure that each SMTP address represents a unique user
> Also it will be way easier for the IMPORT script to import these permissions back, wherever OU the
target user will be located !
This is because the IMPORT script uses Set-Mailbox with the -SendOnBehalfTo, where we can
specify an SMTP address, which will be converted to the corresponding DOMAIN\OU\Name of the
corresponding user in the target environment.
In other words, the SMTP address will be the KEY to match the SendOnBehalfTo permission to the
right users and mailboxes on the target environments.
Show more
It exports the following Exchange Mailbox permissions in a CSV file
- Send As
- Full Access
- Send On Behalf To
in order to be able to import them later in another environment using
the output CSV file.
The Output CSV file will contain the following information for each mailbox permissions
information exported:
Display Name, Primary SMTP Address, Full Access permissions, Send As permissions, Send On Behalf permissions
The permissions can have one or more entries, which will be separated by semicolons (";")
To import back the permissions if needed , you can use the associated Import-MailboxFASAPermissions.ps1
script.
Since the Send As and Full Access permissions can be granted to non-mailbox or
non-mail enabled users, these are stored in the CSV in the form of DOMAIN\Alias.
On the other hand, the Send On Behalf permission can be granted only to mailbox-enabled users,
mail-enabled users and/or mail-enabled security groups only. For some reason, it is stored in
the form of DOMAIN\OU1\Sub-OU1\...\Name - then, the script is designed to convert these - actually
the script resolve these using Get-Mailbox -Identity DOMAIN\OU\...\Name to get and store the
PrimarySMTPAddress of these users so that we have two advantages:
> Not only we are sure that each SMTP address represents a unique user
> Also it will be way easier for the IMPORT script to import these permissions back, wherever OU the
target user will be located !
This is because the IMPORT script uses Set-Mailbox with the -SendOnBehalfTo, where we can
specify an SMTP address, which will be converted to the corresponding DOMAIN\OU\Name of the
corresponding user in the target environment.
In other words, the SMTP address will be the KEY to match the SendOnBehalfTo permission to the
right users and mailboxes on the target environments.
Installation Options
Owners
Package Details
Author(s)
- SammyKrosoft
Functions
Log _Progress Test-ExchTools IsEmpty
Dependencies
This script has no dependencies.
FileList
- Export-MailboxFASAPermissions.nuspec
- Export-MailboxFASAPermissions.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
1.9.1 (current version) | 633 | 3/7/2020 |
1.9 | 33 | 3/4/2020 |
1.8.2 | 78 | 8/4/2019 |