【发布时间】:2016-12-01 12:07:33
【问题描述】:
我正在使用 PowerShell 命令行开关来提取 MailboxFolderPermissions。 我正在使用 Get-MailboxfolderStatistics 来获取特定邮箱的文件夹列表,然后使用 Get-MailboxfolderPermission 来获取所有可用文件夹的权限。
对于我连接到的 Exchange 服务器上本地托管的邮箱,一切正常。 但是在同一个域中还有另一个 Exchange 服务器,并且在第一个上调用 Get-Mailbox 时也会列出托管在其上的邮箱。
当我尝试为此类“远程”邮箱运行 Get-MailboxfolderStatistics 或 Get-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