An
administrator may need to do this if she accidentally deletes a mailbox, or a manager needs access to a
former employee ??™ s mailbox. Once connected, the target user account has full access and rights to the
mailbox. The Connect-Mailbox cmdlet has a number of combinations depending on which parameters
are used:
Connect-Mailbox -Identity < StoreMailboxIdParameter > -Database
< DatabaseIdParameter > [-ActiveSyncMailboxPolicy
< MailboxPolicyIdParameter > ] [-Alias < String > ] [-DomainController < Fqdn > ]
[-ManagedFolderMailboxPolicy < MailboxPolicyIdParameter > ]
[-ManagedFolderMailboxPolicyAllowed < SwitchParameter > ] [-User
< UserIdParameter > ]
Connect-Mailbox -Identity < StoreMailboxIdParameter > -Database
< DatabaseIdParameter > -ValidateOnly < SwitchParameter > [-DomainController
< Fqdn > ]
Connect-Mailbox -Identity < StoreMailboxIdParameter > -Database
< DatabaseIdParameter > -Shared < SwitchParameter > [-ActiveSyncMailboxPolicy
< MailboxPolicyIdParameter > ] [-Alias < String > ] [-DomainController < Fqdn > ]
Chapter 8: Confi guring the Mailbox Server Role
225
[-ManagedFolderMailboxPolicy < MailboxPolicyIdParameter > ]
[-ManagedFolderMailboxPolicyAllowed < SwitchParameter > ] [-User
< UserIdParameter > ]
Connect-Mailbox -Identity < StoreMailboxIdParameter > -Database
< DatabaseIdParameter > -Equipment < SwitchParameter >
[-ActiveSyncMailboxPolicy < MailboxPolicyIdParameter > ] [-Alias < String > ]
[-DomainController < Fqdn > ] [-ManagedFolderMailboxPolicy
< MailboxPolicyIdParameter > ] [-ManagedFolderMailboxPolicyAllowed
< SwitchParameter > ] [-User < UserIdParameter > ]
Connect-Mailbox -Identity < StoreMailboxIdParameter > -Database
< DatabaseIdParameter > -LinkedDomainController < Fqdn > -LinkedMasterAccount
< UserIdParameter > [-ActiveSyncMailboxPolicy < MailboxPolicyIdParameter > ]
[-Alias < String > ] [-DomainController < Fqdn > ] [-LinkedCredential
< PSCredential > ] [-ManagedFolderMailboxPolicy < MailboxPolicyIdParameter > ]
[-ManagedFolderMailboxPolicyAllowed < SwitchParameter > ] [-User
< UserIdParameter > ]
Connect-Mailbox -Identity < StoreMailboxIdParameter > -Database
< DatabaseIdParameter > -Room < SwitchParameter > [-ActiveSyncMailboxPolicy
< MailboxPolicyIdParameter > ] [-Alias < String > ] [-DomainController < Fqdn > ]
[-ManagedFolderMailboxPolicy < MailboxPolicyIdParameter > ]
[-ManagedFolderMailboxPolicyAllowed < SwitchParameter > ] [-User
< UserIdParameter > ]
Connect-Mailbox -Identity < StoreMailboxIdParameter > -Database
< DatabaseIdParameter > [-DomainController < Fqdn > ]
If no User parameter is supplied, the cmdlet tries to match off of the legacyExchangeDN and the
DisplayName .
Pages:
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332