【问题标题】:Get mailbox folder permissions for "remote" mailboxes获取“远程”邮箱的邮箱文件夹权限
【发布时间】:2016-12-01 12:07:33
【问题描述】:

我正在使用 PowerShell 命令行开关来提取 MailboxFolderPermissions。 我正在使用 Get-MailboxfolderStatistics 来获取特定邮箱的文件夹列表,然后使用 Get-MailboxfolderPermission 来获取所有可用文件夹的权限。

对于我连接到的 Exchange 服务器上本地托管的邮箱,一切正常。 但是在同一个域中还有另一个 Exchange 服务器,并且在第一个上调用 Get-Mailbox 时也会列出托管在其上的邮箱。

当我尝试为此类“远程”邮箱运行 Get-MailboxfolderStatisticsGet-MailboxfolderPermission 时,出现错误:

对于 Get-MailboxFolderStatistics cmdlet:

Unable to retrieve mailbox folder statistics for mailbox xxxxxxx@xxxxxx.local. Failure: Error code -2146233088 occurred with message Cannot open mailbox /o=xxxxxxxx/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=EXCH2013/cn=Microsoft System Attendant.. + CategoryInfo: ReadError: (:) [Get-MailboxFolderStatistics],MailboxFolderStatisticsException + FullyQualifiedErrorId : BE037E6,Microsoft.Exchange.Management.Tasks.GetMailboxFolderStatistics + PSComputerName: xxxxxxxxxxx

对于 Get-MailboxFolderPermission cmdlet:

Cannot open mailbox /o=xxxxxxxx/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=EXCH2013/cn=Microsoft System Attendant. + CategoryInfo: NotSpecified: (0:Int32) [Get-MailboxFolderPermission], ConnectionFailedTransientException + FullyQualifiedErrorId : A44BD817,Microsoft.Exchange.Management.StoreTasks.GetMailboxFolderPermission + PSComputerName: xxxxxxxxxxx

有谁知道上述错误的原因是什么?

是否可以列出远程邮箱文件夹的权限?

非常感谢任何帮助。

【问题讨论】:

    标签: powershell powershell-2.0 exchange-server


    【解决方案1】:

    【讨论】:

    • 感谢您的建议。我知道我可以使用 ps session 连接到 Exchange,并且我正在按照上面的描述连接到第一台 Exchange 服务器。问题是由于安全策略,我无法使用这种方法连接到第二个。我只能通过第一台 Exchange 服务器访问这些邮箱,这就是问题所在:(您还有其他建议吗?
    猜你喜欢
    • 2013-08-15
    • 2014-01-05
    • 2018-02-02
    • 1970-01-01
    • 1970-01-01
    • 2019-04-03
    • 1970-01-01
    • 2011-11-20
    • 2019-01-09
    相关资源
    最近更新 更多