Avatar of classanets
classanets
 asked on

looking for powershell/exchange (2007) ems scripts to help extract data from exchange 2007 accounts

Hi All:

I have two companies that are merging -

I need to migrate an exchange 2007 user base from one domain (where it is a DC) to another domain's exchange 2010 server (which is a member server).I'm looking for some power shell scripts, that may help me extract data from the source exchange 2007 server which includes for each account:

1) Aliases
2) groups belonged to
3) delegates

And then maybe some scripts to import that same data into the new accounts in the exchange 2010 environment.

Thanks in advance for any tips or direction.
Exchange

Avatar of undefined
Last Comment
classanets

8/22/2022 - Mon
SubSun

What do you mean by Aliases? Are you looking for email addresses of mailbox?
Neil Russell

Firstly are these two domains on the same site? Can you not use the standard domain migration tools and processes for moving users accross domains/forests?
classanets

ASKER
They are not on the same site.  They are separate physical locations.

Yes, by aliases I mean email aliases, as many of the mailboxes could contain ten or more aliases. A bigger issue is the delegates though.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
SubSun

To export the Email Addresses..
Get-Mailbox -ResultSize Unlimited | select name,{$_.EmailAddresses} | Export-Csv C:\report.csv -NoTypeInformation

Open in new window


To export the Delegates (Only Delegates will be listed not calendar permissions)..
Get-mailboxcalendarsettings -ResultSize Unlimited | select name,{$_.ResourceDelegates} | Export-Csv C:\ResourceDelegates.csv -NoTypeInformation

Open in new window


For group membership, are you looking to get only distribution groups?
classanets

ASKER
Subsun, yes thats what I am looking for. Does the first one also list the mailboxe's aliases ?

And yes, just distribution group information....

THANK YOU !
ASKER CERTIFIED SOLUTION
SubSun

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
classanets

ASKER
Thank you for all of the help ! Thats got me going in the right direction.....
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.