In hybrid environment - from Exchange Shell.
Get-RemoteMailbox -Identity <PrimarySMTP> | Set-RemoteMailbox -Archive