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;


Resolution:
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\v2cal.ps
t}
    + 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.


http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/c3ad4e47-1156-4ea6-b846-ec67815e0572 - 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 ;

http://haacked.com/archive/2010/05/17/remote-desktop-file-copy.aspx