Exchange 2010 PST 导出失败

Exchange 2010 PST 导出失败

我无法将 Exchange 邮箱导出到 PST 文件,这真是太糟糕了。也许您能帮我一下?

系统

我在这里运行一些旧机器。我目前正在使用的机器 (CurrentDC) 是 Windows 2008 R2 Server,上面装有 Exchange 2010。Exchange 似乎修补得不好:

[PS] C:\>get-exchangeserver

Name                Site                 ServerRole  Edition     AdminDisplayVersion
----                ----                 ----------  -------     -------------------
OldDC                                    None        Enterprise  Version 6.5 (Bui...
CurrentDC           company.local        Mailbox,... Enterprise  Version 14.0 (Bu...

问题

经过一番麻烦之后,我设法运行了 Export-Mailbox 命令:

[PS] C:\>Export-Mailbox -Identity marco -PSTFolderPath C:\ExchangeExport

根据多个网站的说法,这似乎是将用户“marco”的邮箱导出到“C:\ExchangeExport”的正确命令。

但是在运行命令后出现错误(很抱歉,这是 Windows 2008 的德语版本 - 但是如果您将 Fehler 翻译为错误并将 Vorgang 翻译为过程,那么您应该做好足够的准备 ;))

[PS] C:\Export-Mailbox -Identity marco -PSTFolderPath C:\ExchangeExport
Fehler für Marco S ([email protected]). Ursache: Fehler bei diesem Vorgang., Fehlercode: -2147467259.
    + CategoryInfo          : InvalidOperation: (0:Int32) [Export-Mailbox], RecipientTaskException
    + FullyQualifiedErrorId : 2317FD3A,Microsoft.Exchange.Management.RecipientTasks.ExportMailbox

RunspaceId                       : 44415363-371e-44a1-a682-61e6a9b90c86
Identity                         : company.local/Company User/Marco S
DistinguishedName                : CN=Marco S,OU=Company User,DC=company,DC=local
DisplayName                      : Marco S
Alias                            : marco
LegacyExchangeDN                 : /o=Erste Organisation/ou=Erste administrative Gruppe/cn=Recipients/cn=marco
PrimarySmtpAddress               : [email protected]
SourceServer                     : CurrentDC.company.local
SourceDatabase                   : Mailbox Database 0279110169
SourceGlobalCatalog              : CurrentDC
SourceDomainController           :
TargetGlobalCatalog              : CurrentDC
TargetDomainController           :
TargetMailbox                    :
TargetServer                     :
TargetDatabase                   :
MailboxSize                      : 0 B (0 bytes)
IsResourceMailbox                : False
SIDUsedInMatch                   :
SMTPProxies                      :
SourceManager                    :
SourceDirectReports              :
SourcePublicDelegates            :
SourcePublicDelegatesBL          :
SourceAltRecipient               :
SourceAltRecipientBL             :
SourceDeliverAndRedirect         :
MatchedTargetNTAccountDN         :
IsMatchedNTAccountMailboxEnabled :
MatchedContactsDNList            :
TargetNTAccountDNToCreate        :
TargetManager                    :
TargetDirectReports              :
TargetPublicDelegates            :
TargetPublicDelegatesBL          :
TargetAltRecipient               :
TargetAltRecipientBL             :
TargetDeliverAndRedirect         :
Options                          : Default
SourceForestCredential           :
TargetForestCredential           :
TargetFolder                     :
PSTFilePath                      : C:\ExchangeExport\marco.pst
RecoveryMailboxGuid              :
RecoveryMailboxLegacyExchangeDN  :
RecoveryMailboxDisplayName       :
RecoveryDatabaseGuid             :
StandardMessagesDeleted          : 0
AssociatedMessagesDeleted        : 0
DumpsterMessagesDeleted          : 0
MoveType                         : ExportToPST
MoveStage                        : Validation
StartTime                        : 05.10.2012 13:55:46
EndTime                          : 05.10.2012 13:55:46
StatusCode                       : -2147467259
StatusMessage                    : Fehler bei diesem Vorgang.
ReportFile                       : C:\Program Files\Microsoft\Exchange Server\V14\Logging\MigrationLogs\export-Mailbox20121005-135545-8170000.xml
ServerName                       : CurrentDC.company.local

我做了什么

好吧,我必须说我很无知。我想知道为什么 MailboxSize 是 0 - 所以我检查了一下:

[PS] C:\>Get-MailboxStatistics marco | ft DisplayName, TotalItemSize, ItemCount

DisplayName       TotalItemSize                  ItemCount
-----------       -------------                  ---------
Marco S           473 MB (496,011,572 bytes)          4173

嗯,这不是 0 字节 - 但我不知道如何处理这些信息。

我还查看了输出中提到的 ReportFile:

<?xml version="1.0"?>
<export-Mailbox>
  <TaskHeader>
    <RunningAs>NT-AUTORITÄT\SYSTEM</RunningAs>
    <Name>export-Mailbox</Name>
    <Type>ExportToPST</Type>
    <MaxBadItems>0</MaxBadItems>
    <Version>14.0.639.21</Version>
    <StartTime>10.05.2012 14:19:12</StartTime>
    <Options Identity="marco" PSTFolderPath="C:\ExchangeExport" DeleteContent="False" DeleteAssociatedMessages="False" GlobalCatalog="CurrentDC" MaxThreads="4" BadItemLimit="0" ValidateOnly="False" IncludeFolders="" ExcludeFolders="" StartDate="01.01.0001 00:00:00" EndDate="31.12.9999 23:59:59" SubjectKeywords="" ContentKeywords="" AllContentKeywords="" AttachmentFilenames="" SenderKeywords="" RecipientKeywords="" Locale="" />
  </TaskHeader>
  <TaskDetails>
    <Item MailboxName="Marco S">
      <Source>
        <Identity>company.local/Company User/Marco S</Identity>
        <DistinguishName>CN=Marco Sc,OU=Company User,DC=company,DC=local</DistinguishName>
        <DisplayName>Marco S</DisplayName>
        <Alias>marco</Alias>
        <LegacyExchangeDN>/o=Erste Organisation/ou=Erste administrative Gruppe/cn=Recipients/cn=marco</LegacyExchangeDN>
        <PrimarySmtpAddress>[email protected]</PrimarySmtpAddress>
        <SourceServer>CurrentDC.company.local</SourceServer>
        <SourceDatabase>Mailbox Database 0279110169</SourceDatabase>
        <IsResourceMailbox>False</IsResourceMailbox>
        <SourceGlobalCatalog>CurrentDC</SourceGlobalCatalog>
      </Source>
      <Target>
        <PSTFilePath>C:\ExchangeExport\marco.pst</PSTFilePath>
      </Target>
      <MailboxSize>0 B (0 bytes)</MailboxSize>
      <Duration>00:00:00</Duration>
      <Result IsWarning="False" ErrorCode="-2147467259">Fehler bei diesem Vorgang.</Result>
    </Item>
  </TaskDetails>
  <TaskFooter>
    <EndTime>10.05.2012 14:19:13</EndTime>
    <TotalSize>0 B (0 bytes)</TotalSize>
    <StandardMessagesDeleted>0</StandardMessagesDeleted>
    <AssociatedMessagesDeleted>0</AssociatedMessagesDeleted>
    <DumpsterMessagesDeleted>0</DumpsterMessagesDeleted>
    <Result ErrorCount="1" CompletedCount="0" WarningCount="0" />
  </TaskFooter>
</export-Mailbox>

你有任何线索吗?

<UPDATE>关于 downthepub 的回答,我尝试使用 UNC 路径 - 没有变化。我还尝试将管理工具安装到客户端并从那里运行脚本 - 也没有办法。</UPDATE>

非常感谢您阅读这篇文章!

答案1

而不是 [PS] C:\>Export-Mailbox -Identity marco -PSTFolderPath C:\ExchangeExport

使用 [PS] C:\>Export-Mailbox -Identity marco -PSTFolderPath \\server\share 目标路径需要以 UNC 路径传递,而不是使用驱动器号。此外,导出时还存在一个错误,即CAS 角色已安装,因此请将管理工具安装到单独的计算机上并从那里运行 cmdlet。

相关内容