Backup / restore domain GPOs

Backup all GPOs 

Backup-Gpo -All -Path "\\Server1\GpoBackups"

Restore all GPOs
 

Restore-GPO -All -Domain "contoso.com" -Path "\\Server1\Backups"

DIsable LAPS

  Turn all items to disabled in LAPS GPO    Remove LAPS passwords Get-ADComputer -Filter * -SearchBase “OU=Servers,DC=mydomain,DC=com” | Se...

Mais vistos