你好!
看了你的命令貌似是想要赋予administrator对所有mailbox的fullaccess权限,请更改你的命令为:
$AllMailbox = Get-Mailbox -ResultSize unlimited
$AllMailbox | ForEach {Add-MailboxPermission -Identity $_.Identity -User Administrator -AccessRights:FullAccess -AutoMapping $False}
然后运行试试看。
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
Winnie Liang
TechNet Community Support
