Guys,

 

This Script will Help, to take PST and Export Mailboxes from Exchange 2010, from an Specified OU, if you want to hav copies of mailboxes of Sales Department, or any other this will Help you take a copy of that just by running this

#############################################################################
# Export Mailboxes from Exchange 2010 from Spicific OU
#
# Rahmatullah Fedayizada
#
# Email: rahmat_fedayizada@hotmail.com
# ============================================================================

## Specify OU which Users Mailbox should be Exported

$ou = "OU=End,DC=Contoso,DC=LOCAL"

$user = Get-ADUser -SearchBase $ou -Filter * -Properties * | Select-Object Name

$user.name

## Loop in Each user ##
Foreach($End in $user.name)

### its not the complete code/script, please download the complete code to work ##
### Dont Forget to Rate it ##

 

 

PowerShell
Edit|Remove
############################################################################# 
# Export Mailboxes from Exchange 2010 from Spicific OU 
 
# Rahmatullah Fedayizada 
 
# Email: rahmat_fedayizada@hotmail.com 
# ============================================================================ 
 
## Specify OU which Users Mailbox should be Exported  
 
$ou = "OU=End,DC=Contoso,DC=LOCAL" 
 
$user = Get-ADUser -SearchBase $ou -Filter * -Properties * | Select-Object Name 
 
$user.name 
 
## Loop in Each user ## 
Foreach($End in $user.name) 
 
### its not the complete code/script, please download the complete code to work ## 
### Dont Forget to Rate it ##
 

 

Dont Forget to Rate it and the Script above is not complete one, please donwload the complete one