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 be able to…


a)      Add PowerShell scripts to logon/logoff and startup/shutdown

b)      Use cmdlets to do a lot of what you’ve been using the GPMC UI or GPMC Sample Scripts for (creating new GPO’s, linking, making backups…)


<drumroll please…>


c)       Configure GPO registry settings from the PowerShell commandline


Holy cow! If you aren’t excited, it’s only because you don’t know what the word cmdlet is yet, but you can find out!


Here’s how:


Don Jones is a great writer for people of every level:


Here are some of his great reasons to use PowerShell with some cool tricks you can use right away for troubleshooting and management:

Check this out from the article:


Top 10 Cmdlets to Start Using Immediately
  • Get-Command retrieves a list of all available cmdlets.
  • Get-Help displays help information about cmdlets and concepts.
  • Get-WMIObject retrieves management information by using WMI.
  • Get-EventLog retrieves Windows event logs.
  • Get-Process retrieves a single or list of active processes.
  • Get-Service retrieves a Windows service.
  • Get-Content reads in text files, treating each line as a child object.
  • Add-Content appends content to a text file.
  • Copy-Item copies files, folders, and other objects.
  • Get-Acl retrieves access control lists (ACLs).

For a complete list of cmdlets that ship with Windows PowerShell, go to




Here, he’s showing you how to build a software inventory tool using WMI cmdlets in a 6 minute video with accompanying article:



The Scripting Guys are hilarious and helpful.  This is some of the stuff I liked that they wrote:


Get-Service; a quick way to get your hands dirty with something you can use right away


Format-List; how to make your results useful to you


This is their archive of Windows PowerShell Tips:


Let me know what resources you like in the comments, I can always learn more.  Keep looking to this blog for more details on GP’s new cmdlets…


Hope this helps,


Lilia Gutnik

Group Policy, PM

Comments (13)
  1. Anonymous says:

    寒くなりましたね…おまけに街はクリスマス一色となりつつあります…点灯されたクリスマスツリーを見るだに寒さが心にしみ入ります。 さて、そんな寒さを吹き飛ばすお話を(よけいに寒くなるか?)。 Group

  2. Anonymous says:

    You configured a setting in one GPO and want to know what that setting is across all GPO’s. You want

  3. Anonymous says:

    Hi !

    So far I can see, for GPO, is remains the big problem since ever:There is no way to script local policies! It’s just like Stonehenge:I have to take my shoes , walk to another server, configure somethings, continue …. So this remains still the biggest pain in …

    For example:I have no access to GPOs and so I must do verything manually …. Thanks for that!

    Very annoyed.


  4. GPTeam says:

    Robert – see recent posts on this topic.

  5. Anonymous says:


    is it possible to have the beta of .admx for group policy for windows 7 to test before the  official release?


  6. Anonymous says:

    The news regarding wall to wall PowerShell in Windows 7Windows 2008 R2 is great news. The fact that

  7. Anonymous says:

    S&aring; kom nyheden endelig. I Windows 7 / Windows Server 2008 R2 vil der v&aelig;re support for bl

  8. GPTeam says:

    ManU – it all depends on the settings you want to apply and whether they are not used in W7 like they were in previous versions. Usually you will find a replacement for these.

  9. A.H. says:

    Any issues managing Group Policy with my Windows 7 RC workstation in a Windows 2003 domain?

  10. Robert says:

    If I wanted Power Shell, I would use UNIX!!  I think Microsoft forgot their flagship product named "Windows" that is based on a GUI…  Remember GUI???  I have more important things to do with my time at work than to learn powershell language to accomplish administrative tasks that used to take seconds in a GUI!!!

  11. tony says:

    Has anyone had any Group Policy issues with Windows 7 workstations in a Windows 2003 domain enviroment???

  12. Robert says:

    What are the new GPOs for Windows 7 OS?  Anything specific?


  13. manu says:

    It seems that the GPOs wont work with my win7 in our domain environment (DC on windows server 03 R2).Am i missing anything?

Comments are closed.

Skip to main content