Backup all GPOs
Backup-Gpo -All -Path "\\Server1\GpoBackups"
Restore all GPOs
Restore-GPO -All -Domain "contoso.com" -Path "\\Server1\Backups"
Run in terminal as admin: Diskpart list disk select disk 0 list partition select partition X delete partition override