cancel
Showing results for 
Search instead for 
Did you mean: 

Powershell Import PST fails

CConsult
Moderator
Moderator
Partner    VIP   

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?

1 ACCEPTED SOLUTION

Accepted Solutions

CConsult
Moderator
Moderator
Partner    VIP   

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.

View solution in original post

3 REPLIES 3

CConsult
Moderator
Moderator
Partner    VIP   

by the way, it is an EV 12.3 with OS Win Server 2016

Jakob
Level 5
Partner

Are you doing this as the VSA? Does the user have permissions to the Files?

CConsult
Moderator
Moderator
Partner    VIP   

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.