MsExchange Blog Spot Telnet25

September 14, 2013

PST Export & Import Exchange 2010

Filed under: General — telnet25 @ 4:38 am

Our task is to allow PST Import and Export functions in Exchange 2010 to replace XMerge functions which used to be the tool in Exchange 2003 days.

Xmerge concept does not exist in Exchange 2010 and using simple PS cmdlet New-MailboxExportRequest will do the job and you will love using it.

  • Create a new Role Group
  • Assign “Mailbox Import Export” role to it.
  • Add Desired Users to Role Group
  • Create Network Share ( Exchange Trusted Subsystem group has read/write permission to NTFS Permissions)
  • Run PS New-MailboxExportRequest
  • Monitor New-MailboxExportRequest
  • Verify PST File has been created on the network Share

Task#1

Create a new Role Group and assign role “ Mailbox Import Export” to it

I called the RoleGorup “PST Import Export” you can call it anything you like but remember you have to assign “Mailbox Import Export” role to this group like shown below

New-RoleGroup “PST Import Export” -Roles “Mailbox Import Export”

Once this is successful done we can see the Role Group

image

Task#2

Add Desired Users to Role Group

Add-RoleGroupMember “PST Import Export” -Member Administrator

Verify the work

Get-RoleGroup *export* | Get-RoleGroupMember

image

Task#3

Create Network Share assign Exchange Trusted Subsystem group has read/write permission Shared Folder &  NTFS Permissions

Administrator account ( or Account you like to use)  also has Full Shared Permissions

image

image

image

Task#4

Execute the PS to get the work done

New-MailboxExportRequest -Name MBExport -Mailbox "Casey.Dedeal" -FilePath \\E1\pst$\Dedeal.pst

Task#5

Monitor the Move Request

Get-moverequest|get-moverequeststatistics

image

Get-moverequest|get-moverequeststatistics  |export-csv c:\reports\Move_Report.csv

Enjoy !!

Respectfully,

Oz Casey, Dedeal

( Exchange Server North America MVP)

MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog)
https://telnet25.wordpress.com/ (Blog)

September 3, 2013

Bulk User Mailbox Creation Exchange Server 2010

Filed under: General — telnet25 @ 1:13 am

This script will help you to create bulk mailbox. You can create 10 or 1000 mailbox, it is up to you, just fallow the simple steps and provide input after executing the script.

This script is great and handy if you are looking for populating users for your LAB etc..

Download the script from here

Step One execute the script from your Exchange server

Create_Bulk_MailBoxUsers.ps1

image

Just provide the input for the script , that is all you have to do

image

Script will take your inputs it will create mailboxes, you can create 10 or 1000 mailbox with simple clicks..

image

Enjoy !!

Respectfully,

MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog)
https://telnet25.wordpress.com/ (Blog)

September 1, 2013

Create Bulk Active Directory Users with PowerShell

Filed under: General — telnet25 @ 3:14 am

Here is real simple script to use to create bulk AD users for your test environment. When you execute the script it will ask you simple questions, all you need to do it to type input based on your scenario, script will take your input and execute within the shell. and at the end it will list the users which have been created.

I wrote this script please fell free to change or add anything you like.

Download the script  from here

 

After downloading the script execute it

image

Script will ask you three questions

image

After you specify how many users you like to create ( you can create as many users as you like)

image

Script will show you the users, you will also find these  users on the default user contained within ADUC.

image

Easy enough (-: , Enjoy it

Respectfully,

MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog)
https://telnet25.wordpress.com/ (Blog)

 

Blog at WordPress.com.