I am writing a script to move psts from one share to another. I am using Redemption to enumerate all PST stores in MAPI profile, disconnect them, move them to another location, and then connect them back with new path. Problem starts when a mapping to a pst store exists in mail profile, but actual pst is missing. It pops up some gui prompts that ask to select a different path to the pst. Does anybody know of how to suppress that prompt and continue with the code?
Set Session = CreateObject("Redemption.RDOSession")
Session.Logon
For Each Store in Session.Stores
If (Store.StoreKind = 2) or (Store.StoreKind = 1) Then
'my code - and it prompts here
End If
Next
Any help is greatly appreciated. Thanks.
Set Session = CreateObject("Redemption.RDOSession")
Session.Logon
For Each Store in Session.Stores
If (Store.StoreKind = 2) or (Store.StoreKind = 1) Then
'my code - and it prompts here
End If
Next
Any help is greatly appreciated. Thanks.