glennda Posted April 6, 2010 Posted April 6, 2010 Just for future reference mine wouldn't work enless i took the space out so that and also where it has servername it should be storage group (this only works on the actual server) Get-Mailbox -database "servername\Students Database" | set-mailbox -recipientlimits 1 Becomes Get-Mailbox -database"storage group\Students Database" | set-mailbox -recipientlimits 1 Toby
EduTech Posted April 6, 2010 Posted April 6, 2010 This is all i get!!! Using this command Get-Mailbox -database "\\DRA-EXCH\Storage Group\Students Database.edb" | set-mailbox -recipientlimits 1 Result Cannot bind to Database. Just thought i would add, glad you got this sorted sorry it was a bad post on my part i was rushing and put in the \\ and i did not mean too! sorry hehe Good Work! glad it's all sorted for you though James.
01hanstu Posted March 8, 2011 Posted March 8, 2011 Hi, This has come back to bit us in the ass. I am trying to run .. "Get-Mailbox -database "\\SERVER\Storage Group\Student" | set-mailbox -recipientlimits 3" but all I get is 'The term get-mailbox is not a recongnised cmdlet' i need to change the whole of the students to 3 recipients not 1. And ideas?
sukh Posted March 8, 2011 Posted March 8, 2011 Hi Remove the \\ Command should be like Get-Mailbox -database "SERVERNAME\DATABASE NAME" | set-mailbox -recipientlimits 3 Regards Sukh
chrisbrown Posted March 15, 2011 Posted March 15, 2011 (edited) Hi, This has come back to bit us in the ass. I am trying to run .. "Get-Mailbox -database "\\SERVER\Storage Group\Student" | set-mailbox -recipientlimits 3" but all I get is 'The term get-mailbox is not a recongnised cmdlet' i need to change the whole of the students to 3 recipients not 1. And ideas? You need to open Exchange Management Shell. You are using vanilla PowerShell. Hi Remove the \\ Command should be like Get-Mailbox -database "SERVERNAME\DATABASE NAME" | set-mailbox -recipientlimits 3 For clarity, everyone: UNC paths and Exchange database canonical paths are completely separate ideas. It's not dissimilar to an AD canonical path. Exch01\StorageGroup1\StudentsStore is a logical path. It implies that on a server called Exch01 there is a storage group called StorageGroup1, inside which there is a store called StudentsStore. This could well be at the physical path M:\MailboxDatabases\ChickenWings\Bobsyouruncle.edb ( (which could also be shared as \\Exch01\MailDBs\Bobsyouruncle.edb). Please do not make the mistake of confusing file paths with canonical mailbox store paths, disaster will ensue. I hope this has not been too abrupt, I don't mean to be rude.\ === Edit: ergo, you should do this: 1. Open Exchange Management Shell (this icon: http://fla.im/ezfBpK ) 2. Run this command (replace $canonicalPathToStore with the path of your DB. I don't have Exchange 2007 handy, but I presume this can be done with Get-MailboxDatabase | fl) Get-Mailbox -database $canonicalPathToStore | set-mailbox -recipientlimits 1 3. You can then run this command to count how many mailboxes across the organisation received the setting: (Get-Mailbox | Where {$_.RecipientLimits -eq 1}).Count Edited March 15, 2011 by chrisbrown
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now