export to pst in exchange 2007

Hello
I need CMD for exporting all mailboxes to pst in certain DB in exchange 2007 services pack2
thanks
AlkannetworksAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Edward van BiljonMessaging and Collaboration Technical Lead (Exchange MVP)Commented:
0
AlkannetworksAuthor Commented:
i have got the belwo error
[PS] C:\Documents and Settings\Administrator.SIT>Export-Mailbox -Identity ibrahi
m.nakip -PSTFolderPath E:\New Folder -Confirm:$false
---------------------------------------------------------------------------------------------------------------------------

Export-Mailbox : A parameter cannot be found that matches parameter name 'Folde
r'.
At line:1 char:15
+ Export-Mailbox  <<<< -Identity ibrahim.nakip -PSTFolderPath E:\New Folder -Co
nfirm:$false
0
Edward van BiljonMessaging and Collaboration Technical Lead (Exchange MVP)Commented:
Try putting the folder path in inverted commas "E:\" etc. did you grant rights on the share for exchange to access?
0
Discover the Answer to Productive IT

Discover app within WatchGuard's Wi-Fi Cloud helps you optimize W-Fi user experience with the most complete set of visibility, troubleshooting, and network health features. Quickly pinpointing network problems will lead to more happy users and most importantly, productive IT.

MAS (MVE)EE Solution Guide - Technical Dept HeadCommented:
0
Pete LongTechnical ConsultantCommented:
1
SysToolsData Expert - Recovery,Backup,MigrationCommented:
Hey if you still getting an error while export multiple mailboxes via Powershell command the Then you can try SysTools Exchange Export Tool that supports Exchange 2007, 2010, 2013 and latest version and allow you to directly convert Live Exchange Environment to PST Format. Check Out the steps you need to follow when you are not able to export multiple PST File and still getting the error:

https://www.experts-exchange.com/articles/32536/File-Failed-Error-In-Exporting-Exchange-Mailbox-to-PST-Format.html
0
AlkannetworksAuthor Commented:
Dear MAS
I have done what u adise but get the error message
[PS] C:\WINDOWS>foreach ($i in (Get-Mailbox)) { New-MailboxExportRequest -Mailbo
x $i -FilePath "\\ E:\New Folder \$($i.Alias).pst" -baditemlimit 50 -acceptlarge
dataloss ;while ((Get-MailboxExportRequest -mailbox $i | ? {$_.Status -eq "Queue
d" -or $_.Status -eq "InProgress"})) { sleep 180 } }
-------------------------------------------------------------------------------------------------------------------
Get-Mailbox : An Active Directory error 0x8000FFFF occurred while searching for
 domain controllers in domain sit.local: Logon failure: unknown user name or ba
d password.
At line:1 char:28
+ foreach ($i in (Get-Mailbox) <<<< ) { New-MailboxExportRequest -Mailbox $i -F
ilePath "\\ E:\New Folder \$($i.Alias).pst" -baditemlimit 50 -acceptlargedatalo
ss ;while ((Get-MailboxExportRequest -mailbox $i | ? {$_.Status -eq "Queued" -o
r $_.Status -eq "InProgress"})) { sleep 180 } }
0
AlkannetworksAuthor Commented:
dear pete
i have done what is in your article but it also gives me the below
[PS] C:\WINDOWS>Export-Mailbox -Identity Administrator -PSTFolderpath E:\pst
---------------------------------------------------------------------------------------------------------------------
Cannot open the log file 'C:\Program Files\Microsoft\Exchange Server\Logging\Mi
grationLogs\export-Mailbox20180831-121300-8593750.log'.
At line:1 char:1
+ E <<<< xport-Mailbox -Identity Administrator -PSTFolderpath E:\pst
0
Pavel MarinovCommercial Technical SupportCommented:
Hi Alkannetworks,

DId you run the EMS as Admin, and  Please check if the Folder location exists. If not create it. Also you can check if you have the permissions to export,

Pavel
0
AlkannetworksAuthor Commented:
hello pavel
i have rub the command and belwo what i have got
[PS] C:\Documents and Settings\Administrator.SIT>Export-Mailbox -Identity tshahi
n@eim-eg.com -PSTFolderPath E:\pst\tshahin.pst
-------------------------------------------------------------------------------------------------------------------
You are running on a 64-bit computer. To export to or import from a .pst file,
you must be running a 32-bit computer that has Outlook 2003 SP2 or later instal
led.
At line:1 char:1
+ E <<<< xport-Mailbox -Identity tshahin@eim-eg.com -PSTFolderPath E:\pst\tshah
in.pst
0
AlkannetworksAuthor Commented:
also i have run the command to make sure that administrator user have prober privilges to export mailboxes to pst

[PS] C:\Documents and Settings\Administrator.SIT>foreach ($exchangeServer in Get
-ExchangeServer)
>> {
>> if ($exchangeServer.ServerRole -match 'ClientAccess')
>> {
>> Add-ADPermission -Identity $exchangeServer.DistinguishedName -User 'sit\admin
istrator' -ExtendedRights ms-Exch-EPI-Impersonation
>> }
>> }
>>
WARNING: Appropriate ACE is already present on object
"CN=MSXSVR7,CN=Servers,CN=Exchange Administrative Group
(FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Sit,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=sit,DC=local" for account
"SIT\administrator".

Identity             User                 Deny  Inherited Rights
--------             ----                 ----  --------- ------
MSXSVR7              SIT\administrator    False False     ms-Exch-EPI-Impers...
0
Pavel MarinovCommercial Technical SupportCommented:
ОК , So zou can check this:

https://social.technet.microsoft.com/Forums/exchange/en-US/69f1745d-dec7-495d-9c79-39ef7d20bee8/e2k7-exportmailbox-need-32-bit-client-you-have-to-be-kidding?forum=exchangesvradminlegacy

I think you will find it useful.
Basically you will need to run it from a computer where Outlook 32 bit is installed, as it uses the interface.
0
MAS (MVE)EE Solution Guide - Technical Dept HeadCommented:
-->Dear MAS
I have done what u adise but get the error message

Looks like you are using a user doesnt have management access
0
AlkannetworksAuthor Commented:
thanks , but i am already give all required access to administrator account which i used it in exporting to PST , would u please clarify what all permission needs
0
MAS (MVE)EE Solution Guide - Technical Dept HeadCommented:
To perform an import or an export, you need specific rights. If this is the first time you have attempted to import or export a mailbox, you must assign yourself the “Mailbox Import Export management” RBAC role. Here is how you can do this easily, with scale for the next guy.

1. Launch Active Directory Users and Computers, and create a new security group called “Mailbox Import-Export”.
2. Add your user account, and any others who need to perform this task, to the group.
3. Launch the Exchange Management Shell. Run the following command, changing the name of the Security Group as appropriate.

New-ManagementRoleAssignment -Name “MailboxImportExport” -SecurityGroup “Mailbox Import-Export” -Role “Mailbox Import Export”

If you get an error, check your spelling for the role and the security group

Now, log off and then back on so your new group membership is associated with your account so you have the rights to perform imports and exports.

Please check this article for details
https://toyinogunmefun.wordpress.com/2014/12/12/exporting-mailboxes-to-psts-on-exchange-2007-or-above/
0
Marshal HubsEmail ConsultantCommented:
For exporting all mailboxes to pst in certain DB in exchange 2007, you can use Stellar EDB to PST Converter. The software supports all version of Exchange Server and also exports Public folders to PST. For free trial version, you can check this link: https://www.stellarinfo.com/email-repair/edb-pst-converter.php
0
AlkannetworksAuthor Commented:
Hi MAS
Thanks , i have run the command and check the spelling but it gives me the below:
[PS] C:\WINDOWS>New-ManagementRoleAssignment -Name "Mailbox Import Export" -Securi
tyGroup "Mailbox Import-Export" -Role "Mailbox Import Export"
----------------------------------------------------------------------------------------------------------------------------
The term 'New-ManagementRoleAssignment' is not recognized as a cmdlet, function
, operable program, or script file. Verify the term and try again.
At line:1 char:29
+ New-ManagementRoleAssignment  <<<< -Name "MailboxImportExport" -SecurityGroup
 "Mailbox Import-Export" -Role "Mailbox Import Export"
0
AlkannetworksAuthor Commented:
i have done all these steps but also give me the below message
[PS] C:\Documents and Settings\Administrator.SIT>New-MailboxExportRequest -Mailb
ox ibrahim.nakip -FilePath \\192.168.51.51\pst\ibrahim.nakip.pst
-------------------------------------------------------------------
The term 'New-MailboxExportRequest' is not recognized as a cmdlet, function, op
erable program, or script file. Verify the term and try again.
At line:1 char:25
+ New-MailboxExportRequest  <<<< -Mailbox ibrahim.nakip -FilePath \\192.168.51.
51\pst\ibrahim.nakip.pst
0
austin minorCommented:
The cause is that roles are loaded when the Management Shell is loaded - if the rights didn't already exist they will not be loaded and you will receive the error that the cmdlet is not recognized. Once you exit out and restart the exchange management shell the command should be recognized

I suggest you follow this document use New-MailboxExportRequest to export the mailbox, then check whether this issue will occur or not.

New-MailboxExportRequest https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/New-MailboxExportRequest?view=exchange-ps

Export Exchange mailboxes to PST file using Powershell cmdlet: http://expert-advice.org/exchange-server/export-exchange-mailboxes-pst-file-using-powershell-cmdlet/
0
AlkannetworksAuthor Commented:
i will upgrade to last exchange version
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.