Archive for February, 2014

Import PST into Exchange 2013 mailbox.

I was trying to use New-MailboxImportRequest to import a PST file into a mailbox. From EMS, I kept getting the following error:

“The term ‘New-MailboxImportRequest’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again”

I had to enter the following to get the necessary permission:

New-ManagementRoleAssignment –Role “Mailbox Import Export” –User UserImporting

I did this for the Administrator account, so:

New-ManagementRoleAssignment –Role “Mailbox Import Export” –User Administrator

Then, I was able to import the PST mail. With following command the email was put back into the same folder as when the mail was exported:

New-MailboxImportRequest -Mailbox mailboxname -FilePath UNCToFile

I imported the PST into a mailbox with an alias of jim:

New-MailboxImportRequest -Mailbox jim -FilePath \\SERVER1\c$\jim.pst

Change DC IP address.

If you are going to change IP address of a domain controller, there are a couple things you should do afterwards to ensure that the DNS is in order.

First, go ahead and make the network modifications on the domain controller (IP address, mask, gateway, DNS, etc.).

Then, register the changes with the DNS using:

ipconfig /registerdns

Then, use the following to ensure that the service records are properly updated in the DNS as well. This could really mess things up if not correct, so do the following to make sure:

dcdiag /fix

Return top

INFORMATION