2017-04-06 66 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回來以下? 最終結果是爲每個用戶分配一個監督郵箱的完全訪問權限。

回答