Exchange 2007 sp1 cmdlet
Posted on 2009-05-08
i use the below command to take backup from exchange management shell
Get-Mailbox -Database 'mbx\BusinessSG1\example2' | Export-Mailbox -excludeFolders '\deleted items','\Junk E-mail' -pstfolderpath E:\Backup\BS2 -confirm:$false
this cmdlets saves the mailbox backup in form of AlaisName.pst.
But There are few conflicts in alias names as we have couple of domain configured on same
Is there a way i can fetch the User Principal Name from Get-mailbox cmdlet of all mailbox users and then pass it on to export-mailbox command and then it can save it in format UPN.pst