2016-07-27 79 views
0

我使用PowerShell命令行條件提取MailboxFolderPermissions。 我正在使用Get-MailboxfolderStatistics獲取特定郵箱的文件夾列表,然後Get-MailboxfolderPermission獲取所有可用文件夾的權限。獲取「遠程」郵箱的郵箱文件夾權限

對於我連接到的Exchange服務器上本地託管的郵箱,所有工作都正常。 但是在同一個域中有另一臺Exchange服務器,並且在第一個服務器上調用Get-Mailbox時也列出了託管在其上的郵箱。

當我嘗試運行GET-MailboxfolderStatisticsGET-MailboxfolderPermission這樣的 「遠程」 信箱我收到EN錯誤:

對於GET-MailboxFolderStatistics的cmdlet:

Unable to retrieve mailbox folder statistics for mailbox [email protected] 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

有沒有人知道上述錯誤的原因是什麼?

是否可以列出遠程郵箱文件夾的權限?

任何幫助真的很感激。

回答

0
+0

謝謝您的建議。我知道我可以使用ps會話連接到Exchange,並且我正在通過以上描述連接到第一臺Exchange服務器。問題是,由於安全策略,我無法使用此方法連接到第二個。我只能通過第一臺Exchange服務器訪問這些郵箱,這就是問題:(你有其他建議嗎? –