【发布时间】:2017-09-02 00:36:53
【问题描述】:
Exchange 2010,我在 Exchange 管理 shell 中使用以下内容
$mailidentities = Get-Mailbox | Get-MailboxPermission | where {$_.identity.tostring() -like "* STAFF/*" -and $_.identity.tostring() -NotLike "*Ex_Staff*" -and $_.User.tostring() -like "*SELF*" -and $_.IsInherited -eq $false} | Select-object Identity
foreach ($mailidentity in $mailidentities)
{
Write-Host "$mailidentity"
}
返回结果@{Identity=domain/Group/UserName}
仅返回 domain/Group/UserName 的正确语法是什么?
最终结果是为每个用户分配一个监督邮箱的完全访问权限。
【问题讨论】:
标签: exchange-server-2010 exchange-management-shell