Yeah you need servername in there. Get-mailbox -database server\database name.
I use that in a ton of scripts, from balancing mailstores to moving folks completely off a store to kill white space. -Troy -----Original Message----- From: John Cook [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 8:27 AM To: MS-Exchange Admin Issues Subject: RE: Default database name I get Mailbox Database for that one but it won't run Get-Mailbox -Database Mailbox Database returns an error but it works for all of the other ones I've created after that. John W. Cook Systems Administrator Partnership For Strong Families 315 SE 2nd Ave Gainesville, Fl 32601 Office (352) 393-2741 x320 Cell (352) 215-6944 Fax (352) 393-2746 MCSE, MCTS, MCP+I,CompTIA A+, N+ -----Original Message----- From: Troy Meyer [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 11:14 AM To: MS-Exchange Admin Issues Subject: RE: Default database name What does the PoSH command get-mailboxdatabase respond with? Usually when you are sending db names they are server\db like oregonmail1\a_standardusers -troy -----Original Message----- From: John Cook [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 7:44 AM To: MS-Exchange Admin Issues Subject: Default database name Having a major brain fade here, I'm trying to create a PoSh script to move all mailboxes from the default EDB to a new one but I don't seem to be able to come up with the right name for the default and I didn't change it at install. E2K7, SP1 TIA John W. Cook Systems Administrator Partnership For Strong Families Sent to you from my Blackberry in the Cloud CONFIDENTIALITY STATEMENT: The information transmitted, or contained or attached to or with this Notice is intended only for the person or entity to which it is addressed and may contain Protected Health Information (PHI), confidential and/or privileged material. Any review, transmission, dissemination, or other use of, and taking any action in reliance upon this information by persons or entities other than the intended recipient without the express written consent of the sender are prohibited. This information may be protected by the Health Insurance Portability and Accountability Act of 1996 (HIPAA), and other Federal and Florida laws. Improper or unauthorized use or disclosure of this information could result in civil and/or criminal penalties. Consider the environment. Please don't print this e-mail unless you really need to. ~ Ninja Email Security with Cloudmark Spam Engine Gets Image Spam ~ ~ http://www.sunbeltsoftware.com/Ninja ~ ~ Ninja Email Security with Cloudmark Spam Engine Gets Image Spam ~ ~ http://www.sunbeltsoftware.com/Ninja ~ CONFIDENTIALITY STATEMENT: The information transmitted, or contained or attached to or with this Notice is intended only for the person or entity to which it is addressed and may contain Protected Health Information (PHI), confidential and/or privileged material. Any review, transmission, dissemination, or other use of, and taking any action in reliance upon this information by persons or entities other than the intended recipient without the express written consent of the sender are prohibited. This information may be protected by the Health Insurance Portability and Accountability Act of 1996 (HIPAA), and other Federal and Florida laws. Improper or unauthorized use or disclosure of this information could result in civil and/or criminal penalties. Consider the environment. Please don't print this e-mail unless you really need to. ~ Ninja Email Security with Cloudmark Spam Engine Gets Image Spam ~ ~ http://www.sunbeltsoftware.com/Ninja ~ ~ Ninja Email Security with Cloudmark Spam Engine Gets Image Spam ~ ~ http://www.sunbeltsoftware.com/Ninja ~
