In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
SFB project experience-59-Export-user mailbox-permissions-Export FullAccess & SendAs permissions for Shared Mailboxes
Actual demand:
Personnel Department:
You need to use the same mailbox to log in and send and receive email.
The new user mailbox is assigned the appropriate permissions, and then the user is assigned to multiple individuals, so that everyone can use the same mailbox to log in and send and receive emails.
Scene:
When migrating across forests, you need to export user permissions to facilitate the assignment of permissions to users in the final forest.
Solution:
$OutFile = "C:\ TempPermissionExport.txt"
"DisplayName" + "^" + "Alias" + "^" + "Full Access" + "^" + "Send As" | Out-File $OutFile-Force
$Mailboxes = Get-Mailbox-RecipientTypeDetails SharedMailbox-ResultSize:Unlimited | Select Identity, Alias, DisplayName, DistinguishedName
ForEach ($Mailbox in $Mailboxes) {
$SendAs = Get-ADPermission $Mailbox.DistinguishedName |? {$_ .ExtendedRights-like "Send-As"-and $_ .User-notlike "NT AUTHORITYSELF"-and! $_ .IsInherenced} |% {$_ .User}
$FullAccess = Get-MailboxPermission $Mailbox.Identity |? {$_ .Acce***ights-eq "FullAccess"-and! $_ .IsInherenced} |% {$_ .User}
$Mailbox.DisplayName + "^" + $Mailbox.Alias + "^" + $FullAccess + "^" + $SendAs | Out-File $OutFile-Append
}
*
Are you required to export all assigned permissions to a set of mailboxes?
Using this script, you will be able to export full access and Agent send permissions for any mailbox group you want.
This script works for Exchange 2007, but there's no reason why it doesn't work for Exchange 2010 either.
You can customize the $Mailboxes query to collect the mailboxes to which you want to export details.
This is just a Get-Mailbox query. The export will be in the form of a txt file, but the results will be separated by the ^ symbol. Just import it into Excel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 206
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.