Performancing Metrics

Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » cmdlet   (RSS)

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
Posted by GPTeam | 1 Comments

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

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.

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

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,

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

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

Group 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 anticipate and test around replication delays in

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
 
Page view tracker