powershell

  1. 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
  2. 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...
  3. 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...
Top