Remote Group Policy Update – 'Under the Bonnet'

Windows Server 2012 introduced the ability to perform remote Group Policy updates, kicked-off from the Group Policy Management Console or via the Invoke-GPUpdate PowerShell cmdlet. So… what happens when you schedule a remote Group Policy update? Before I start, the first thing to mention is that these updates can only be performed against Windows Vista / Windows Server 2008, or later,…

0

One-Liner: Specific GPO and DC Information from a Forest

Man, I love PowerShell one-liners. The efficiency, the elegance, the challenge! Here's one to give me a list of the domain names in a forest, the number of group policies per domain and the number of domain controllers per domain.   (Get-ADForest).Domains | ForEach-Object {"Domain Name`: $_"; "Number of GPOs`: $((Get-GPO -All -Domain $_ ).count)";…

1

Comprehensive GPO Backup Script

Obtaining a comprehensive, automated backup of your domain Group Policy Objects has always been a challenge. First, we had the GPMC WSFs (Windows Script Files) and then the glory of PowerShell and the Backup-GPO cmdlet. However, like a single chunk of chocolate, they were never quite enough… so I wrote a sample script to obtain a comprehensive group policy backup. What's…

3