Add Scripts/Powershell/General Purpose/Force GPUpdate Domain-Wide.md

This commit is contained in:
Nicole Rappe
2024-01-11 20:24:17 -07:00
parent 767d6726a7
commit 1d88569181

View File

@ -0,0 +1,4 @@
``` powershell
$computers = Get-ADComputer -Filter * -SearchBase "OU=Computers,DC=bunny-lab,DC=io"
$computers | ForEach-Object -Process {Invoke-GPUpdate -Computer $_.name -RandomDelayInMinutes 0 -Force}
```