Automate creating a mailbox database
Hi everyone,
I have a new deployment at a customer and I want to create many databases in an automated way. I have all the settings in an excel sheet delivered by the customer after reviewing design options.
So how can I do such automated creation for the databases? I have to specify some quota settings that are different in each database
Mohammad, IT NOC Team
Assuming you have a csv located at C:\DB.csv, you can open a Microsoft Exchange PowerShell Console and run:
(assuming that your databases will be located at F:\DBs\ and logs at F:\Logs
$csv= import-csv -path c:\db.csv
Foreach ($row in $csv)
New-MailboxDatabase -name $row.name -server $row.server -edbfilepath "F:\DBs\($row.name).edb" -logFolderPath "F:\LOGs"
Set-MailboxDatabase $row.name -MailboxRetention 30.00:00:00 -ProhibitSendReceiveQuota 1.5gb -ProhibitSendQuota 1gb -RecoverableItemsQuota 3gb -RecoverableItemsWarningQuota 512MB -DeletedItemRetention 30.00:00:00 -MaintenanceSchedule {Sun.4:00 AM-Sun.8:00
AM, Mon.4:00 AM-Mon.8:00 AM, Tue.4:00 AM-Tue.8:00 AM, Wed.4:00 AM-Wed.8:00 AM, Thu.4:00 AM-Thu.8:00 AM, Fri.4:00 AM-Fri.8:00 AM, Sat.4:00 AM-Sat.8:00 AM} -QuotaNotificationSchedule {Sun.12:00 AM-Sun.12:15 AM, Mon.12:00 AM-Mon.12:15 AM, Tue.12:00 AM-Tue.12:15
AM,Wed.12:00 AM-Wed.12:15 AM,Thu.12:00 AM-Thu.12:15 AM,Fri.12:00 AM-Fri.12:15 AM,Sat.12:00 AM-Sat.12:15 AM} -RetainDeletedItemsUntilBackup $True -IssueWarningQuota 900MB
You can customize the above script to match your database settings
ammarhasayen
Similar Messages
-
How to create new storage group and mailbox database on exchange 2007 CCR
Hi, Our Environment:
Exchange 2007 SP3 CCR.
Now I want to create a new storage group with edb file and log files on the new drive.
My plan is as below:
Once we have new drive ready on both active node and passive node,
1): Create new storage group with log files for this new storage group on other new drive from Active Node.
2): Create new mailbox database under this newly created storage group with the DB file on the new drive from active node.
My question is:
1): Do I need to perform above steps from active node only? or Do I need to do it from both active node and passive node?
2): How many storage groups can we create on one Exchange 2007 Enterprise server, we already have 25 SGs in place.
Thanks in advance.Hi,
Here are my answers you can refer to:
1. We can just create new storage group on the active node. And it’ll be replicated to the passive node.
We can use the following command in EMS to verify the new Storage Group is being replicated to the passive node:
Get-StorageGroupCopyStatus "Second Storage Group" | Select SummaryCopyStatus,CCRTargetNode
http://exchangepedia.com/blog/2007/08/how-to-create-new-storage-group-in-ccr.html
2. For Exchange 2007 enterprise version, we can have up to 50 storage groups:
http://www.computerperformance.co.uk/exchange2007/exchange2007_storage_groups.htm
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
sure that you completely understand the risk before retrieving any suggestions from the above link.
If you have any question, please feel free to let me know.
Thanks,
Angela Shi
TechNet Community Support -
Is it possible to activate lagged mailbox databases automatically
Dears,
I searched every where and couldn't found anyone talking about configuring the lagged mailbox databases for automatic failover, without going through the manuall setps mentioned in the following TechNet link
http://technet.microsoft.com/en-us/library/dd979786(v=exchg.150).aspx
Any Ideas,
Ayman SalehDears,
I searched every where and couldn't found anyone talking about configuring the lagged mailbox databases for automatic failover, without going through the manuall setps mentioned in the following TechNet link
http://technet.microsoft.com/en-us/library/dd979786(v=exchg.150).aspx
Any Ideas,
Ayman Saleh
No, lagged copies are not considered highly available copies. I guess you could script something using some logic, but that is not their intent.
Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied. -
Unable to create the Mailbox Store. The database returned an error
hi we have a new unity connection 10.51 install . trying to create a 2nd mailbax store and get the following error:
Unable to create the Mailbox Store. The database returned an error.
creates the store but i can't open it to mount it / enable it.Sadly, that did not resolve the problem. The app still terminated and generated an error. Any other suggestions?
Here is the first portion of the error it generates:
Process: App Store [3200]
Path: /Applications/App Store.app/Contents/MacOS/App Store
Identifier: com.apple.appstore
Version: 1.0.2 (63.1)
Build Info: Firenze-630100~1
Code Type: X86-64 (Native)
Parent Process: launchd [239]
Date/Time: 2011-08-17 21:43:21.942 -0700
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 23825 sec
Crashes Since Last Report: 10
Per-App Interval Since Last Report: 21 sec
Per-App Crashes Since Last Report: 6
Anonymous UUID: 4133601A-34FD-472F-98E6-73E4DE9BFC06
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information:
abort() called
*** Terminating app due to uncaught exception 'NSImageCacheException', reason: 'Cannot lock focus on image <NSImage 0x10037c3c0 Size={0, 0} Reps=(
)>, because it is size zero.' -
I have a DB on a disk that is almost out of space, so I've moved all user mailboxes to a new DB, as recommended rather than offline defragging.
I have a single DAG made up of 3 members although 2 have all the DB Split between them (Active/passive).
Anyway I want to know now I've moved all users off it the simplest way of removing the existing DB (Which now only has the System arbitration mailbox left on it) and re-creating it ? e.g; can I simply remove the DB via powershell, what happens to arbitration
or do I not care?, then setup as if I was creating a brand new DB with the same name ?
steps and Suggestions please, Many ThanksHi,
From your description, I recommend you move (not remove) your EDB files using the following cmdlet.
Move-DatabasePath "Mailbox Database identity" -EdbFilePath "x:\xxx"
What's more, you need to move the arbitration mailboxes to the new mailbox database.
To verify whether the database is mounted and accessible you can use the following two cmdlets.
Get-MailboxDatabase -Status "Mailbox Database identity" | Select Name,Mounted
Test-MAPIConnectivity -Database "Mailbox Database identity"
Hope this can be helpful.
Best regards,
Amy Wang
TechNet Community Support -
Exchange 2010 - Create a new Mailbox Database
Hello all and thanks in advance for your time and expertise.
Here's my scenario:
In my ORG we have one exchange server. The hard drive space on this server was quite low so we added two more drives which are independent and in their own Raid Configuration from the drives that were already installed. In other words, the current
mailbox database is housed on drives with a total storage capacity of 837GB.
We recently added two more drives, each 2TB, and configured them in a RAID1.
I'm going to create a new Mailbox Database on the 2TB drives and move over some mailboxes to balance out the storage.
Question one: When we move some of the mailboxes over to the new database - will this free up space on the existing database or do we have to reclaim it such as with an offline degrag.
Question two: When I create the new mailbox database and I'm prompted to Enter the new file locations for the database (database path and log folder path) - do I just change the paths to the new drive letter path such as G:
We're eventually going to Office365 (hopefully sooner rather than later) but I just want to make sure I handle this process correctly. Your input here is greatly appreciated.Hello,
Your databse size is 650 GB. As per my experience , it would not take more than 14 hours for total mailbox movement.
You will be creating new database of 2 TB , you have already allocated 2 Tb drive to exchange server.
If you are dividing drive into 2 or four part and creating that much databse, it will be helpful for maintence activity in future.
It is recommended that you move mailbox during off bussiness hours, it will fasten the movment,as there will be no load on exchange server . You can do it on daily basis Or you can do it on weekend .
You need to take care of logs generated during movment, are you going to use seperate log drive for databse, or combine with database drive. If you are moving all mailbox to one database, It will genrate same size of logs file as of total mailboxes
size (650 GB). You neeed to handle it properly. Enable circular logging on database, after movment ,you can disable it.
Moreover, if you will create move request of all mailboxes, exchange will process nly 50 request, rest will be in queue state.
Regarding public folders, I understand there is no seperate disk for public folders, if you planning to delete old dtabse and free up disk space, you will have to move this public folders database to new disk also.
Would recommend that you take advice from other expert in this forum, before implementation. -
MapiExceptionADNotFound When Creating a new Mailbox Database, No such error on the internet
HI
I have a problem that is when I create a new Mailbox Database I face the Error
Failed
Error:
Exchange is unable to mount the database that you specified. Specified database: EMAIL\Second Storage Group\EmailData; Error code: MapiExceptionADNotFound: Unable to mount database. (hr=0x80004005, ec=2417)
Exchange Management Shell command attempted:
mount-database -Identity 'CN=EmailData,CN=Second Storage Group,CN=InformationStore,CN=EMAIL,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Domain,DC=com'
Elapsed Time: 00:00:00
I have this server exchange 2007 SP1 running on Server 2003 SP2 R2 64-Bit
its also additional exchange to the old ex server 2003 SP2
what is this error
I check the evenlog and there is NO related error for this
and I ran EXPBA and it report no problem
I search MSN and Google for this and nothing usefull found
what shell I do
I am a fried that the Main database may fail if this presentForce replication betwenn Domain Controllers.
Article in PT-BR:
http://www.wellingtonagapto.org/2014/07/mapiexceptionadnotfound-unable-to-mount-database-hr-0x80004005-ec-2417-Exchange-Server-2007.html
Wellington Agápto
Consultor de Comunicações Unificadas & Mobilidade
ITIL, CCNA, MCP, MTA, MCITP, MCTS, MCSA, MCSE Communication
Edefense Segurança Digital
Site: http://www.edefense.com.br
Blog: http://www.wellingtonagapto.org -
Cannot add mailbox database copy to DR site - .edb file not getting created
I have a DR site setup that I want copies of 4 of my mailbox databases. 3 of the mailbox databases copied over successfully but the last and largest one which is really not that large 69Gbs keeps failing when i Update the database copy. Seems
to not be creating the .edb file. Is there another way to get the .edb file over to the server, possibly manually copying it then doing and update database copy? I have my backups turned off on all the servers that have the mailbox role on it now
thinking that was causing some issues with the database copy? Any suggestions is appreciated, thanks.
Michael DuhonYes manually copy the edb file and paste them in the DR server . Then try to update with for the incremental of database copy. Verify the database is clean shutdown that you are moving to the DR site.
What error message it throws when you performing update the database copy
Exchange Queries -
Exchande mailbox database is not getting mounted automatically after server is up
Hi,
Our exchange server is configured as follows:
- DAG with two Exchange Mail box servers member.
- Each server is mounted to mailbox database(m1-db & m2-db respectively) and the replication is activated on both server
My question is when one of the server goes down , the other server will take over but after the second is back online, the database which reside on it is not mounted automatically and both dbs are showing healthy status.
To resolve this issue we have to activate it manually.
Is there any solution or configuration to be performed to make the mounting occurs automatically.
RegardsDoes it happens to all the Database on that server?
What is the activation preference you have set?
Cheers,
Gulab Prasad
Technology Consultant
Blog:
http://www.exchangeranger.com Twitter:
LinkedIn:
Check out CodeTwo’s tools for Exchange admins
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
Hello!
I'm getting this warning when removing a mailbox database in Exchnage 2013 SP1:
I've never had it in Exchange 2013 (NOT SP1)... How can I now remove a "monitoring mailbox object of database ..." from my AD?
Thank you in advance,
MichaelHi
Here you go
Failed to remove monitoring mailbox object of database “database_name”. Exception: Active directory operation failed on “server_name”. This error is not retrievable. Additional information: Access is
denied. Active directory response: 000000005: SecErr: DSID-031520B2, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0.
In this case, the database was removed an Active Directory [AD] error (with a not very useful description) complaining about insufficient permissions is thrown. If you run:
Get-Mailbox -Monitoring
You will most likely see a warning regarding a corrupted Health Mailbox:
WARNING: The object “domain_name”/Microsoft Exchange System Objects/Monitoring Mailboxes/”Health_Mailbox_GUID” has been corrupted, and it's in an inconsistent state. The following validation errors happened:
WARNING: Database is mandatory or UserMailbox.
Because Exchange 2013 did not have sufficient permissions to the domainname/Microsoft Exchange System Objects/Monitoring Mailboxes Organizational Unit [OU], it could not delete the AD objects related to the database’s health mailboxes. In
this case, the database attribute is null because the database the health mailbox references no longer exists.
To fix this issue, simply delete the health mailboxes referenced by the error(s) from that OU by using Active Directory Users and Computers. After removing these, the warning should be gone.
Deleting health mailboxes is a low risk procedure because they will be automatically re-created by the Microsoft Exchange Health Manager service on the Exchange 2013 server hosting the database when this service is restarted
Source of information - http://www.msexchange.org/kbase/ExchangeServerTips/ExchangeServer2013/ManagementAdministration/exchange-2013-error-deleting-database.html
Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish
(MVP) -
We have a 16 Exchange 2013 Mailbox Databases. Of those 16, 12 have been 'Excluded from Provisioning'.
We are trying to come up with a script or at least command to enable-mailbox for existing AD user accounts.
The question is, we want the enable-mailbox command to balance or randomly create mailboxes across databases and not just on one specific database.
Can this be done?Hi,
From your description, I would like to clarify the following thing:
Automatic distribution is used when you don't specify the Database parameter on the Enable-Mailbox cmdlet. This process randomly distributes mailboxes across all of the suitable mailbox databases in your organization.
If you also want the mailboxes to be distributed to the other 12 databases, you can run the cmdlet below to set the IsExcludedFromProvisioning to $false for them.
Set-MailboxDatabase <database name> -IsExcludedFromProvisioning $false
Hope my clarification can be helpful to you.
Best regards,
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Amy Wang
TechNet Community Support -
Database defragmentation or creating a new database?
Hi,
We want to reclaim the whitespace in our Exchange database, so do you recommend creating a second database and moving the mailboxes over there, or shall we go with offline defragmentation?
Database size: 400GB.
Mailboxes counts: 300.
Thoughts and recommendations?How much free space is in your database? If it's under 20%, then I'd stay as you are. If it's between 20% and 40%, it becomes a judgment call. If it's over 40%, then I'd create a new database and move the mailboxes - primarily because this
will allow your users to access unless their specific mailbox is being moved (and even then, the access I available for most of the move anyway), and you will both remove whitespace and eliminate any bad items you may have in the database. Just keep
in mind that when you move the mailboxes, any recoverable mailboxes will remain on the original database unless you re-associate them with accounts so you can move them. (And if you re-associate them with accounts and move them, their "deleted on"
date counter will be reset to the date you move them, if you delete them again.)
Taking the database offline so you can compact it will leave your users out of email access for the duration of the process. And if you have a DAG and multiple database copies, you will need to reseed them each after the process is complete.
If you create a new database, with associated copies on other servers, the move mailbox process will automatically reseed the database.
Ever since Exchange 2000, when multiple database were available on a single server, I have been leery of running an offline defrag. And since Exchange 2010 and its move requests, I am adamant against doing one - we reclaimed nearly 24TB in our 24 databases
(each was nearly 2 TB, and each is now under 1 TB), all using the process I suggest above. -
Mailbox Database selection based on user OU
I would like to automatically distribute mailbox creation based on User OU.
My Mailbox database is configured something like:
ExecutiveDB1
ExecutiveDB2
SalesDB1
SalesDB2
If a mailbox is provisioned for a User in the Executive OU, it should be created in either ExecutiveDB1 or ExecutiveDB2. Likewise for users in the Sales OU, it should create mailbox in SalesDB1 or SalesDB2.
I have created Database Scopes for Executive and Sales DBs.
What should I do next?
Thanks for your replies.Hi,
From your description, you can use the database scopes to select databases for mailbox distribution. It could be the case if your Exchange servers serve several departments, but you only want to allow each department to create or move mailboxes to mailbox
databases allocated to them.
For more information about database scopes, here is an article for your reference, refer to the "how to use the database scopes to select databases for mailbox distribution" part.
Where Did That New Exchange 2010 Mailbox Go? (Note: Though it is Exchange 2010, it also applies to Exchange 2013 about this issue)
http://technet.microsoft.com/en-us/library/ff872148(v=exchg.141).aspx
Best regards,
Amy Wang
TechNet Community Support -
Firefox 29 is no longer automatically creating bookmarks backups.
I hate to be posting another question having finally (I believe) finding a work around for the "Firefox 29 fails to exit properly and remains running in task manager" problem.
https://support.mozilla.org/en-US/questions/997670
However, in Firefox 28 FF would automatically create a new bookmarks backup upon first opening of each day and the number of bookmark backups could be set in about:config setting:
browser.bookmarks.max_backups
Since installing Firefox 29 this functionality does not appear to be working. Is this by design or another "issue"? Has anyone else noticed this issue?
Please don't ask me to "reset to default state", "run in safe mode", etc. I just went through all that with the above "Failing to exit properly" thread. I know I can manually backup bookmarks. I would like to know whether this is by design, if other people have noticed this, or I am the only one experiencing this.
Here is my troubleshooting information (excluding the thousand references to my printer):
<pre><nowiki>Application Basics
Name: Firefox
Version: 29.0
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:29.0) Gecko/20100101 Firefox/29.0
Crash Reports for the Last 3 Days
All Crash Reports
Extensions
Name: Firebug
Version: 1.12.8
Enabled: true
ID: [email protected]
Important Modified Preferences
accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 51200
browser.cache.disk.smart_size_cached_value: 358400
browser.cache.disk.smart_size.enabled: false
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.places.smartBookmarksVersion: 6
browser.search.suggest.enabled: false
browser.search.useDBForOrder: true
browser.sessionstore.upgradeBackup.latestBuildID: 20140421221237
browser.startup.homepage: http://www.wcwcw.com/
browser.startup.homepage_override.buildID: 20140421221237
browser.startup.homepage_override.mstone: 29.0
browser.tabs.loadInBackground: false
browser.urlbar.autocomplete.enabled: false
dom.mozApps.used: true
dom.w3c_touch_events.expose: false
extensions.lastAppVersion: 29.0
font.internaluseonly.changed: true
general.autoScroll: false
gfx.direct3d.last_used_feature_level_idx: 1
keyword.URL: https://www.google.com/search?q=
network.cookie.cookieBehavior: 2
network.cookie.lifetimePolicy: 1
network.cookie.prefsMigrated: true
places.database.lastMaintenance: 1399218213
places.history.expiration.transient_current_max_pages: 80511
plugin.disable_full_page_plugin_for_types: application/vnd.fdf,application/vnd.adobe.xdp+xml,application/vnd.adobe.xfdf
plugin.importedState: true
plugin.state.npdeployjava: 0
plugin.state.npgoogleupdate: 0
print.printer_HP_DeskJet_710C_(Copy_1).print_bgcolor: false
privacy.clearOnShutdown.cache: false
privacy.clearOnShutdown.cookies: false
privacy.clearOnShutdown.formdata: false
privacy.clearOnShutdown.offlineApps: true
privacy.clearOnShutdown.sessions: false
privacy.cpd.cache: false
privacy.cpd.cookies: false
privacy.cpd.offlineApps: true
privacy.cpd.sessions: false
privacy.popups.showBrowserMessage: false
privacy.sanitize.migrateFx3Prefs: true
privacy.sanitize.timeSpan: 0
security.disable_button.openCertManager: false
security.disable_button.openDeviceManager: false
security.warn_viewing_mixed: false
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1396579220
Graphics
Adapter Description: NVIDIA GeForce 9400 GT
Adapter Drivers: nvd3dum nvwgf2um,nvwgf2um
Adapter RAM: 1024
ClearType Parameters: Gamma: 2200 Pixel Structure: B ClearType Level: 50 Enhanced Contrast: 300
Device ID: 0x0641
Direct2D Enabled: true
DirectWrite Enabled: true (6.2.9200.16571)
Driver Date: 12-19-2013
Driver Version: 9.18.13.3221
GPU #2 Active: false
GPU Accelerated Windows: 1/1 Direct3D 10
Vendor ID: 0x10de
WebGL Renderer: Google Inc. -- ANGLE (NVIDIA GeForce 9400 GT Direct3D9Ex vs_3_0 ps_3_0)
windowLayerManagerRemote: false
AzureCanvasBackend: direct2d
AzureContentBackend: direct2d
AzureFallbackCanvasBackend: cairo
AzureSkiaAccelerated: 0
JavaScript
Incremental GC: true
Accessibility
Activated: false
Prevent Accessibility: 0
Library Versions
NSPR
Expected minimum version: 4.10.3
Version in use: 4.10.3
NSS
Expected minimum version: 3.16 Basic ECC
Version in use: 3.16 Basic ECC
NSSSMIME
Expected minimum version: 3.16 Basic ECC
Version in use: 3.16 Basic ECC
NSSSSL
Expected minimum version: 3.16 Basic ECC
Version in use: 3.16 Basic ECC
NSSUTIL
Expected minimum version: 3.16
Version in use: 3.16</nowiki></pre>
Kind Regards,
AxisThis is a bit of a "bump" with some new things I have tried. I have run the Places Maintenance add-on (again) and places.sqlite integrity seems absolutely fine.
Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/
I have re-installed FF 29.
I am able to create manually, and restore, bookmark backups without a hitch.
I did delete places.sqlite and restarted FF 29. The only thing I lost was all my bookmark Icons. So I re-added the former places.sqlite. Of course, I would have to wait until tomorrow morning to know for sure, but since the Places Maintenance add-on indicated no problems, and since I can manually create them, I am quite sure it is not a corrupted places.sqlite file.
I tried what may be a dubious add-on, BackupFox, and it failed to create a new backup but left a temp file in the main profile folder.
Logic tells me that if I can manually create and restore bookmark backups, then something in the engine(?) may be responsible but I do not know enough to go further with that. Permissions must be O.K. or I wouldn't be able to make (manually) a backup.
I did not have this problem at all with FF 28. Rather, I was asking cor-el how to limit the number of backups, which he showed me. What makes this difficult to test is that I would have to wait until the first opening of FF each day to tell.
I can't tell if this problem is "only me" or affecting others, however, (no insult intended) I can paste into the support.mozilla.org page search box the exact title of this thread and not find it. I shows up number 1 on Google doing similar search. People who aren't checking their profile folder each day might not even be noticing this.
cor-el, or anybody, have you found auto backups have stopped in FF 29 for you? Anyone who reads this please let me know if your bookmark auto-backup is working. Just peak in your profile and see if you have a new one each day.
Does anyone know just what .dll or .exe or what actually is triggered how that causes the auto-backup to occur? Is it the maintenance service?
What I have not tried is creating another profile because this one seems just fine and I has always worked before 29, and still does work, as far as profiles go. I need to know what "triggers" auto bookmark backup and I doubt it is my profile.
Regards again,
Axis -
[Symptom]
======================
In Exchange 2007, when you want to export mailbox to a .pst file, you should run the
Export-Mailbox cmdlet from a 32-bit computer that has the following installed:
The 32-bit version of the Exchange management tools
Microsoft Office Outlook 2003 SP2 or later versions
If not, you may encounter the following error message:
You check that you have these required installed, but you get the error below when you run Export-Mailbox in EMS.
“The specified mailbox database [Mailbox Database Name] does not exist.”
[Cause Analysis]
=======================================
This is because that the account you use to run Export-Mailbox cmdlet don’t have the Exchange Server Administrator role assigned.
You can check if this account has been delegated the Exchange Server Administrator role through the following path.
EMC -> Organization Configuration-> Check permissions in the result pane.
To delegate this Exchange Server Administrator role, right click on the
Organization Configuration node and choose Add Exchange Administrator,
you will see the Add Exchange Administrator window.
[More Information]
==============================
Export-Mailbox
http://technet.microsoft.com/en-gb/library/aa998579(v=exchg.80).aspx
How to Export and Import mailboxes to PST files in Exchange 2007 SP1
http://blogs.technet.com/b/exchange/archive/2007/04/13/3401913.aspx
Exchange 2007 cannot export pst files via its powershell
http://social.technet.microsoft.com/Forums/forefront/en-US/b3bc0dce-35f3-4a69-9a33-4f2a855b9f94/exchange-2007-cannot-export-pst-files-via-its-powershell?forum=exchangesvrgenerallegacy
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Hi,
Based on my test, if you make the user the owner of the database (rather than a user with the db_owner role), when you create a query, it creates it under the dbo schema rather than DOMAIN\username.
Steps to do so (in Management Studio):
Right click database, select Properties
Click File
Change Owner in the textbox
OK to confirm
Downside - other users under db_owner role will still have their username appended. So schemas have to be created for these users.
Jaynet Zhang
TechNet Community Support
Maybe you are looking for
-
Unable to read RAW files in CS6
pplease see attached photo so you know what I mean !!
-
ITunes wont sync to touch or iPhone
Just got a new iPhone 4s for my daughter. She alrerady has an iPod touch with 6gigs worth of songs. Downloaded & installed iTunes 10.5..... NO music will sync to either her new phone or the touch now! Apps, videos etc all work fine. The "sync all m
-
When i changed my apple id password it send me back to trial on elements 12
i bought elements 12 in july 2014 and i had an issue with my password for my apple id and when i changed it set my photoshop back to trial version my wife deleted email with serial number but i do have the purchase email
-
My final cut pro 7 won't open any more
it jumps up and down on the bar at the bottom then a window pops up saying that it had to close unexpectedly. All the other features work(Compressor, dvd pro, cinema, soundtrack) and i would love to have the program back.
-
Problems with clicking using the mouse and trackpad
Mouse will move OK, but clicks do not register immediately and everything is highlighting when i move the cursor. I found that if i hold down the click for a second or so it seems to work as per normal except if there is a delayed action on a button.