289769a601
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 8s
18 lines
637 B
Markdown
18 lines
637 B
Markdown
---
|
|
tags:
|
|
- Group Policy
|
|
- PowerShell
|
|
- Scripting
|
|
---
|
|
|
|
## Purpose
|
|
This document records the procedure for force group policy updates across the domain. Follow the environment assumptions and commands below.
|
|
|
|
```powershell
|
|
$computers = Get-ADComputer -Filter * -SearchBase "OU=Computers,DC=bunny-lab,DC=io"
|
|
$computers | ForEach-Object -Process {Invoke-GPUpdate -Computer $_.name -RandomDelayInMinutes 0 -Force}
|
|
```
|
|
|
|
## Related Documentation
|
|
- [Related Identity and Certificates Documentation](<../../../reference/Identity and Certificates/index.md>) — Find the connected deployments, procedures, and references for this subject.
|