How to use PowerShell to force policy to apply

  1. Run PoweShell as administrator.
  2. Run Login Office 365 command: $UserCredential = Get-Credential
  3. Run session command: $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
  4. Run import session commnad: Import-PSSession $Session -DisableNameChecking
  5. List the mailboxes status command: get-mailbox
  6. Start-ManagedFolderAssistant -Identity “mailbox name”

Note: mailbox name could be username@company.com.

Published by

Bob Lin

Bob Lin, Chicagotech-MVP, MCSE & CNE Data recovery, Windows OS Recovery, Networking, and Computer Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com