Powershell Import PST fails
Hi,
I am getting an error when I try to import an PST via Powershell:
(I have shortened the path here [...])
PS [...]> Add-EVPstFile -UNCPath "\\localhost\d$\[...]\Albert, Hans_EVStore01\00001.pst" -Archive "Albert, Hans"
Add-EVPstFile : This file is already added.
At line:1 char:2
+ Add-EVPstFile -UNCPath "\\localhost\d$\[...][\M ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceExists: (Symantec.Enterp...on.AddEVPstFile:AddEVPstFile) [Add-EVPstFi
le], ApplicationException
+ FullyQualifiedErrorId : DuplicateFile,Symantec.EnterpriseVault.PowerShell.Commands.PSTMigration.AddEV
PstFile
My assumption is, that there is a problem with the name or the hash of a pst file.
But it is strange that I can import the same PST with VAC without any problem.
Also the very first PST got imported too. This is why I assume it has something todo with the PST name.
Anyone with a powershell kicker that could help me out? Or any other ideas?
Hi Jakob,
I have just solved it. EV is recognizing already imported filepath+filename.
It is because the PSTs will be written to the "Personal Management" under "Files" as single entries.
I have changed my export/import script so everything works fine now.