Book Image

Mastering Windows Group Policy

By : Jordan Krause
5 (1)
Book Image

Mastering Windows Group Policy

5 (1)
By: Jordan Krause

Overview of this book

This book begins with a discussion of the core material any administrator needs to know in order to start working with Group Policy. Moving on, we will also walk through the process of building a lab environment to start testing Group Policy today. Next we will explore the Group Policy Management Console (GPMC) and start using the powerful features available for us within that interface. Once you are well versed with using GPMC, you will learn to perform and manage the traditional core tasks inside Group Policy. Included in the book are many examples and walk-throughs of the different filtering options available for the application of Group Policy settings, as this is the real power that Group Policy holds within your network. You will also learn how you can use Group Policy to secure your Active Directory environment, and also understand how Group Policy preferences are different than policies, with the help of real-world examples. Finally we will spend some time on maintenance and troubleshooting common Group Policy-related issues so that you, as a directory administrator, will understand the diagnosing process for policy settings. By the end of the book, you will be able to jump right in and use Group Policy to its full potential.
Table of Contents (12 chapters)

Using PowerShell to back up and restore GPOs

PowerShell is so powerful because it has access to do anything on a system, but also because normal mundane tasks can be saved off as scripts and run at scheduled intervals without any administrative input. One of those regular mundane tasks for you could be the backing up of GPOs in your domain. Wouldn't it be nice if I could create a scheduled task that backed up all of my GPOs once a day, every day? There is no accommodation for that inside GPMC (though it's not too difficult to log in there and back them all up—but then you have to remember to do that every day). If we turn to PowerShell, we can come up with a simple one-liner command that backs up all of the GPOs in our domain in a single action. Then we can use a plethora of task-scheduling or scripting tools to simply make sure that our command gets run every...