DirSync force synchronization

1. start PowerShell, type Import-Module DirSync
2. Start-OnlineCoexistenceSync

AAD Sync

1. cd  C:\Program Files\Microsoft Azure AD Sync\Bin
2. Run:  .\DirectorySyncClientCmd.exe delta

 

 

Windows PowerShell Command

Add-WindowsFeature Desktop-Experience  – Add a new Windows Desktop Experience feature

Changing the Product Key in Server 2012

slmgr -ipk XXXX-XXXX-XXXX-XXXX

List of Active Directory FSMO roles

netdom query /domain:<domain name> fsmo

Active Directory schema version

Get-ADObject (get-adrootdse).schemaNamingContext -Property objectVersion

W2008 R2 RemoteApp Gateway Server Unavailable Error

delete web.config file.

PowerShell: record session

start-transcript