New! Windows PowerShell Help on TechNet
I know there's a lot of interest around Windows PowerShell. Here's some information you might be interested in as a Group Policy Administrator: A TechNet magazine article entitled, "Simplify Group...
View ArticleGroup Policy in Windows 7
PowerShell! The name alone should get you excited. Wait until you see all the cool stuff you can do with PowerShell in the Windows Server 2008 R2 and Windows 7 release of the Group Policy management...
View ArticleIntroduction to Windows PowerShell Cmdlets in Windows 7
New Year, New…console session? Here’s a quick look at creating a new GPO using the Group Policy cmdlets in Windows 7. To create a new GPO from scratch using PowerShell cmdlets: 1. Open an...
View ArticleGroup Policy Cmdlets, Replication & the '-Server' Parameter
Hello GP Junkies! My name is Bryan Garretson, and I want to let you know about an interesting way we were able to leverage the new PowerShell cmdlets available in Windows Server 2008 R2 / Windows 7: to...
View ArticlePowerShell Script: Backup all GPOs that have been modified this month
The scene: Backups take up space, but they’re a crucial part of GPO management. Ideally, one would do regular backups (monthly? weekly? your call) but only of the GPOs that have changed. This script...
View ArticleSet a registry key value from the command line using Group Policy PowerShell...
The scene: You want to set a registry key of a 3rd party application but you don’t want to write a custom ADMX file just to be able to configure it. Or you have some registry keys you set in logon...
View ArticleCheck a setting in all GPO's (Security, ADMX, and more)
You configured a setting in one GPO and want to know what that setting is across all GPO’s. You want to check that a setting is not being overwritten by another GPO in the same domain (without...
View ArticleCheck a setting in all GPO's continued (scripts, firewall, GP Preferences and...
I mentioned this in the last post, here are some more examples. To download the script, check the 'Attachments' link by clicking on this post's title and then scrolling to the bottom. Quick...
View ArticlePowerShell Script with GP cmdlets: Registry setting, Link
The following is a sample script that sets a Preference registry value in a GPO, then compares that same value to all of the GPO's linked in the same domain. If the value is not already set in a...
View ArticleMicrosoft Management Summit 2009
I just got back from another great MMS in Las Vegas and I’d like to thank everyone who stopped by the booth, attended the Group Policy-related sessions, and asked great questions about Group Policy and...
View ArticleGroup Policy at Tech Ed 2009 keynote: Mark Russinovich demos Group Policy...
During this morning’s keynote at TechEd 2009 in Los Angeles, technical fellow Mark Russinovich demonstrated the Set-GPRegistryValue cmdlet. He points out the power of scripting; a few lines created a...
View ArticleCool Articles: Group Policy Modeling, Windows 7 / Server 2008 R2 functionality
I just read a couple of great articles written in the past couple months about Group Policy. Ever wondered which policy is going to 'win' on a client with overlapping settings from different GPOs? Want...
View ArticleHow long does this script / WMI Filter take?
I was reading GP MVP Darren Mar-Elia’s forum about WMI Filters and discovered a sweet PowerShell trick from another awesome friend of the GP team, Thorbjörn Sjövold (CTO of Specops Software) You can...
View ArticleGroup Policy & Scripting
Hey, Scripting Guy! has a great series of posts around Group Policy & scripting:Using group policy cmdlets for backup and restoreTest AD replication with group policy cmdletsHow to compare 2 GPOs...
View ArticleMore powershell & group policy
I do not know about you but I LOVE PowerShell, especially the Group Policy cmdlets. Unfortunately, I didn’t have too many opportunities to really use them - but luckily got a chance in preparation for...
View ArticleMore on searching group policy
Here’s a quick follow-up to our last post on the existence of GPO search. One of our MVPs, Alan, has a great post up about a Group Policy Search webapp (Previously mentioned on this blog). It includes...
View ArticleCopy and Merge GPOs through Powershell
Ashley McGlone has a great script up for merging GPOs together through powershell. I wish I had this script five years ago. At the time I was searching for a way to combine or merge GPOs, but there...
View ArticleGet GPO Backup with Powershell
Jeff Hicks, one of Microsoft’s Powershell MVPs, has written a great script for managing GPO backups:The GroupPolicy module from Microsoft offers a great deal of functionality from a command line. In...
View ArticleRSAT & GP Cmdlets
This post was written by Judith, a technical writer for Group Policy. This will be the first post in a series on ways to use Powershell with Group PolicyI wanted to play around with the Group Policy...
View ArticleListing all GPOs in the current forest
This post was written by Judith, a technical writer for Group Policy. This is the second post in a series on ways to use Powershell with Group Policy. See the first post on getting started with RSAT...
View Article