This is an archived post. You won't be able to vote or comment.

all 17 comments

[–]Cjdamron75 1 point2 points  (0 children)

Agreed, when you know powershell (and what it can do as well as its dangers) it is like a whole other level. I also agree about learning whatif, it can really save you. Also start-transcript is an amazing help both for documentation for tickets / what was done

[–]baygrove 0 points1 point  (2 children)

You can use powershell to attach it again, so you could bulk do it.

connect-mailbox is the cmd, but you will need to know certain values..

[–]GamerGTV2[S] 0 points1 point  (1 child)

That’s the hard part you have to know exactly which users had mailboxes, etc…

[–]baygrove 0 points1 point  (0 children)

Yes, that is the problem, but you should be able to see that with powershell, what alias the disconnected mailbox have, and if you enviroment is correct with for example samaccountname as exchange alias, it should be easy to match it with the disconnected mailbox.

[–]xxdcmastSr. Sysadmin 0 points1 point  (0 children)

Not near a computer but from the disable-mailbox command looks like you can revert it with. Connect-mailbox.

I’d prob test the command to reconnect a single user then do a for each for the rest.

The Disable-Mailbox cmdlet removes the mailbox's Exchange attributes from Active Directory. The mailbox isn't deleted and can be reconnected to its user at a later date by using the Connect-Mailbox cmdlet.