Published on
Takes approximately 1 minute to read
Post HistoryActive Directory/Group Policy Cheatsheet
Introduction
I always need to lookup Group Policy/Active Directory commands, I just don't touch it enough - which might be by design....
Get a User's/Workstation's Effective Policy
PowerShell
Skipcode block
gpresult /h "$(pwd)\gpo-report.html"
# And open the report in the default browser.
Invoke-Item "$(pwd)\gpo-report.html"
/h
"html report", generate an HTML report.
Force Replication between All sites/domain Controllers
PowerShell
Skipcode block
repadmin /syncall /d /e
/d
"distinguished name", forces displaying domain controllers by their distinguished name instead their useless GUID./e
"everything", forces replication between all sites.