Force Full Password Sync with AAD Connect.

I think this was easier with Dirsync, but that product is history. Open Powershell as Administrator and modify this Powershell script: $Local = "Domain.local" $Remote = " - AAD" #Import Azure Directory Sync Module to Powershell Import-Module AdSync $OnPremConnector = Get-ADSyncConnector -Name $Local Write-Output "On Prem Connector information received" $Object…continue reading →

Sysprep Windows 8 and Windows 10

Hi, If you ever get problems while doing a sysprep on Windows 8 or 10. 1. Unplug network cable or disconnect wifi. 2. Use the powershell command below to cleanup any live-apps, because you cannot sysprep them. get-appxpackage | remove-appxpackage Then do a sysprep with or without answer file and…continue reading →

How to Find your missing dirsync server.

Hi, Okay, it isn't so easy, but the following help you to the right track. If you don't have a separate service-account for Local AD connection, then you can use this: dsquery user -name MSOL_AD_sync If you have a service-account, replace MSOL_AD_sync with that one. Answer: "CN=MSOL_AD_sync,CN=Users,DC=domain,DC=local" Next type:  DC repadmin…continue reading →

Restore emails from disconnected users mailbox.

Hi all, Today I got an assignment to recover a disconnected users mailbox emails received. So here goes. Step 1: Allow permissions to user-account you are using. New-ManagementRoleAssignment –Role "Mailbox Import Export" –User whateveryouareusing Step 2: Connect-Mailbox –Identity disconnecteduser –Database mailboxdatabasename –user recovery.user Step 3: -gt in the specific date.…continue reading →