Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Windows Group Policy

You're reading from   Mastering Windows Group Policy Control and secure your Active Directory environment with Group Policy

Arrow left icon
Product type Paperback
Published in Nov 2018
Publisher Packt
ISBN-13 9781789347395
Length 408 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Jordan Krause Jordan Krause
Author Profile Icon Jordan Krause
Jordan Krause
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Group Policy - The Basics FREE CHAPTER 2. Group Policy Management Console (GPMC) 3. Daily Tasks in Group Policy 4. Advanced Filtering of Group Policy Objects 5. Deploying Policy Settings 6. Group Policy Preferences 7. Group Policy as a Security Mechanism 8. Group Policy Maintenance 9. Group Policy Troubleshooting 10. PowerShell for Group Policy Administration 11. Other Books You May Enjoy

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image