powershell

  1. Andy

    List all of Active Mailboxes on Office 365 using PowerShell

    Preparation: Windows Remote Management (WinRM) on your computer needs to allow Basic authentication (it's enabled by default). To verify that Basic authentication is enabled, run this command in a Command Prompt: winrm get winrm/config/client/auth If you don't see the value Basic = true, you...
  2. Andy

    Remove / Purge Deleted Users from Office 365 Admin

    You can run the command via AD PowerShell directly: $msolcred = get-credential connect-msolservice -credential $msolcred To purge the deleted user accounts: get-msoluser –returndeletedusers -maxresults 100000 | remove-msoluser -removefromrecyclebin -force
  3. Andy

    Add Full Access Mailboxes with Outlook Auto-Mapping Disabled

    In Exchange 2010 Service Pack 1 (SP1) Exchange introduced a feature that allows Outlook 2007 and Outlook 2010 clients to automatically map to any mailbox to which a user has Full Access permissions. If a user is granted Full Access permissions to another user’s mailbox or to a shared mailbox...
  4. Andy

    Manual Delta & Full Sync between AD & Office 365

    How to do manual synchronise between Active Directory DIRSYNC and Office 365 using PowerShell? Open up Windows PowerShell, and then invoke the following command: FinishedPS C:\Program Files\Microsoft Azure AD Sync\Bin> .\DirectorySyncClientCmd.exe delta saputra.local Initializing...
Back
Top