Azure AD Connect autosync and autoupgrade cmdlets

for enabling AutoSync… Set-ADSyncScheduler -SyncCycleEnabled $true for enabling AutoUpgrade… Set-ADSyncAutoUpgrade -AutoUpgradeState Enabled

sysprep tips before uploading your OnPremise custom OS images to Azure as template

The following are my personal experiences with OnPremise sysprepped images for Azure custom image template gallery. It may be wrong or incomplete. Just sharing my personal experience. Do not install VMWare or any other similar virtualization software agents. Always use Generalize option with sysprep. Do not use unattend.xml with sysprep. Avoid conversion of disks from…

Powershell error descriptions tip

If you do a “$error[0] | fl * -f” immediately after error, that would be more descriptive than that screenshot.