PowerShell Lab Complete!

You've mastered Group Policy management with PowerShell!

Take the Quiz → Try GUI Lab

Lab Tasks

1. List GPOs
View all Group Policy Objects in the domain.
Get-GPO -All
2. Create GPO
Create a new Group Policy Object named "Security Baseline".
New-GPO -Name "Security Baseline"
3. Link GPO
Link a GPO to an organizational unit.
New-GPLink -Name "Security Baseline" -Target "OU=Workstations,DC=hexworth,DC=local"
4. Generate Report
Create a GPO settings report.
Get-GPOReport -Name "Default Domain Policy" -ReportType Html
5. Backup GPO
Backup a Group Policy Object for disaster recovery.
Backup-GPO -Name "Default Domain Policy" -Path "C:\GPOBackups"
GPO Management:
Group Policy Objects control user and computer settings across the domain. Use Get-Command *GPO* to discover available cmdlets.
Tip: Use Get-Help <cmdlet> to learn about any command. Try Get-Help Get-GPO -Examples!