Wednesday, October 31, 2012

Import one PST into all the mailboxes located in Exchange2010 in one-short

Issue : Import one PST into all the mailboxes in the Exchange Organization what I did was;

I have exported all the mailboxes alias names to .CSV file & run below command to Import the PST into the
mailbox aliases

Import-CSV \\mbx\PST\New.csv | Foreach{ New-MailboxImportRequest -Mailbox $_.Alias -FilePath \\mbx\PST\v2cal.pst}

After I ran above command, it was giving below error;
Cause : I was not added the user account which I was logged on Exchange cas server into the share where I had kept PST file, we need to give Full access to the share for that account.

Import-CSV \\mbx\PST\New.csv | Foreach{ New-MailboxImportRequest -Mailbox $_.Alias -FilePath \\mbx\PST\v2cal.pst}
Import-Csv : Cannot open file "\\mbx\PST\New.csv".
At line:1 char:11
+ Import-CSV <<<<  \\mbx\PST\New.csv | Foreach{ New-MailboxImportRequest -Mailbox $_.Alias -FilePath \\mbx\PST\
    + CategoryInfo          : OpenError: (:) [Import-Csv], UnauthorizedAccessException
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.ImportCsvCommand

After changed the above settings, it's working fine.

In one-short am able to import one PST into all the mailboxes in my ORG.
User account which I am using its not added into the share where I had kept the PST file. - link

Thursday, October 25, 2012

Copying Files Over Remote Desktop

Hi All,

We can copy the files from local machine to Remote Desktop machine by using the below link;

Thanks to the people those who explore new tips ;