2017-04-06 146 views
0

Exchange 2010中,我使用的Exchange命令行管理 $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" }Exchange命令行管理条输出

结果返回@{Identity=domain/Group/UserName} 什么是正确的语法,只得到domain/Group/UserName回来以下? 最终结果是为每个用户分配一个监督邮箱的完全访问权限。

回答