Go offline with the Player FM app!
Episode 5 – BackupRestoreImport-GPO
Manage episode 157719802 series 1231423
Download the MP3 Podcast
In this episode we look at how you can Backup, Restore, and Import Group Policy Objects using Windows PowerShell and the cmdlets that come with the Group Policy module in the latest version of RSAT and the GPMC.
$dir = '\\server1\gpobackups' # Backups Get-GPO -All |Backup-GPO -Path $dir Get-GPO remoting |Backup-GPO -Path $dir #Restore Restore-GPO -Path $dir -All Restore-GPO -Path $dir -Name remoting # Restore a GPO from a specific backup $id = '00003D27-F9E6-4C59-BF69-938E5AE43D05' Restore-GPO -Path $dir -BackupId $id # Create a new GPO named remoting2 Import-GPO -Path $dir -BackupGpoName remoting -TargetName remoting2 -CreateIfNeeded
Brought to you by The Windows PowerShell Bible 2.0 and PowerShellGroup.Org
8 episodes
Manage episode 157719802 series 1231423
Download the MP3 Podcast
In this episode we look at how you can Backup, Restore, and Import Group Policy Objects using Windows PowerShell and the cmdlets that come with the Group Policy module in the latest version of RSAT and the GPMC.
$dir = '\\server1\gpobackups' # Backups Get-GPO -All |Backup-GPO -Path $dir Get-GPO remoting |Backup-GPO -Path $dir #Restore Restore-GPO -Path $dir -All Restore-GPO -Path $dir -Name remoting # Restore a GPO from a specific backup $id = '00003D27-F9E6-4C59-BF69-938E5AE43D05' Restore-GPO -Path $dir -BackupId $id # Create a new GPO named remoting2 Import-GPO -Path $dir -BackupGpoName remoting -TargetName remoting2 -CreateIfNeeded
Brought to you by The Windows PowerShell Bible 2.0 and PowerShellGroup.Org
8 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.