May 23 2018 10:40 AM - edited May 23 2018 10:59 AM
Enable-RemoteMailbox documentation, see Example2, seems to suggest the following command should work
Enable-RemoteMailbox -Identity fake@fake.com -RemoteRoutingAddress fake@fake.mail.onmicrosoft.com -archive
It throws the error:
Parameter set cannot be resolved using the specified named parameters.
+ CategoryInfo : InvalidArgument: (:) [Enable-RemoteMailbox], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,Enable-RemoteMailbox
+ PSComputerName : dc001smail1.hawkinsinc.com
How can we enable a remote mailbox and create an archive mailbox?
UPDATE: Based on another forum, it looks like if we run the command 2 times it will both enable the mailbox and the archive.
Enable-RemoteMailbox -Identity fake@fake.com -RemoteRoutingAddress fake@fake.mail.onmicrosoft.com
Enable-RemoteMailbox -Identity fake@fake.com -archive
May 28 2018 04:09 AM
If im right you should just load in exchange online PowerShell. Next up you just hit
Enable-Mailbox "Jerry Meyer" -Archive
To check if this has worked type in.
Get-Mailbox "Jerry Meyer" | FL Name,*Archive*
https://technet.microsoft.com/en-us/library/jj984357(v=exchg.150).aspx
Jun 06 2018 12:56 PM