Performancing Metrics

Browse by Tags - Group Policy Team Blog - Site Home - TechNet Blogs

Browse by Tags

Tagged Content List
  • Blog Post: Check a setting in all GPO's continued (scripts, firewall, GP Preferences and more)

    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 refresher: This script’s usage is as follows: SearchGPOsForSetting.ps1 [–IsComputerConfiguration] <Boolean>...
  • Blog Post: Group 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 tools. For those of you who have yet to learn PowerShell, hopefully this will help motivate you. You will...
  • Blog Post: 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 Policy Administration with Windows PowerShell" by Thorbjörn Sjövold was published this past May. If...
  • Blog Post: Group Policy at Tech Ed 2009 keynote: Mark Russinovich demos Group Policy PowerShell cmdlets

    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 GPO, configured a registry value, and linked it to an OU. A few changes would link that same GPO to any...
  • Blog Post: How to add comment for a GPO with PowerShell

    You might have seen GP MVP Jeremy Moskowitz’s post on how to recycle GPO comments . While Jeremy points out you can do this without a script…. You can also do it with a script! Our tech writer, Judith, walks us through the process:   After I import the Group Policy module in PowerShell, I have access...
  • Blog Post: Cool 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 to know more about Starter GPO's or Preferences? Read on... The first one walks through how to...
  • Blog Post: Microsoft 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 AGPM (thanks to Chris for Tweeting about it!). I’m so glad to see that more and more people are using...
  • Blog Post: Group Policy Cmdlets, Replication &amp; 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 anticipate and test around replication delays in certain configurations. When we were testing...
  • Blog Post: Check 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 checking through every settings report). Sound familiar? Well, we’ve heard you. And made something...
  • Blog Post: PowerShell 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 will do that for you and print out a nice settings report of each GPO as it’s being backed up. The...
  • Blog Post: Group Policy & Scripting

    Hey, Scripting Guy! has a great series of posts around Group Policy & scripting: Using group policy cmdlets for backup and restore Test AD replication with group policy cmdlets How to compare 2 GPOs offline ( Part II )
  • Blog Post: Introduction 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 elevated PowerShell console session (1-2 clicks) 2. Command: Import-Module grouppolicy (typing) ...
  • Blog Post: Set a registry key value from the command line using Group Policy PowerShell cmdlets

    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 scripts and you want to use the update interval of Group Policy to make sure that value sticks. Or you want...
  • Blog Post: Listing 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 and Group Policy Let’s say I have a forest and I’d like to document a listing of all the GPOs in that...
  • Blog Post: RSAT & 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 Policy I wanted to play around with the Group Policy cmdlets. These are installed on Windows Server 2008 R2 automatically when Group Policy is installed....
  • Blog Post: More 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 instructions on how to install a Windows Search connector – so you can use this search...
  • Blog Post: How 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 use the PowerShell cmdlet “measure-command” to measure the time it takes...
  • Blog Post: More 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 a presentation where I would demo a script that Lindsay (from our dev team) put together. This...
  • Blog Post: Get 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 terms of regular maintenance or administration it is pretty hard to beat, especially if you have 100s...
  • Blog Post: Copy 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 simply wasn’t a way to do it. And today there still isn’t a way to do it… until POWERSHELL! Almost every...
  • Blog Post: PowerShell 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 linked GPO, the new GPO is linked to that domain as well. You can copy and paste the following text into...