【问题标题】:List all mailboxes a user has access to in Exchange 2013?列出用户在 Exchange 2013 中有权访问的所有邮箱?
【发布时间】:2018-02-01 23:13:15
【问题描述】:

是否可以运行命令来生成用户具有完全访问权限的邮箱列表?

我找到了一些可以尝试在 PS AD 模块中运行的东西,但是输出没有用。

Get-ADUser mspencer -Properties * | Select msExchDelegateListBL | Export-Clixml 'c:\users\adm-dosmith\desktop\test23.csv'

有人有吗?

【问题讨论】:

    标签: powershell exchange-server-2013 exchange-management-shell


    【解决方案1】:
    Get-Mailbox | Get-MailboxPermission -User mspencer
    

    这会遍历每个邮箱并返回用户mspencer 拥有的任何权限。

    您需要使用 Exchange 命令行管理程序来运行它,因为它使用 Exchange cmdlet。

    【讨论】:

      【解决方案2】:

      仅过滤特定用户的完全访问权限:

      Get-Mailbox | Get-MailboxPermission | 
      ? {$_.User -match 'mspencer' -and $_.AccessRights -contains "FullAccess"}
      

      【讨论】:

        猜你喜欢
        • 2016-09-13
        • 2018-12-20
        • 1970-01-01
        • 2010-10-04
        • 2017-05-05
        • 2015-09-07
        • 2019-02-08
        • 2020-02-20
        • 2016-08-10
        相关资源
        最近更新 更多