Group Policy Cmdlets in Windows PowerShell Released!

In a previous post, Lilia wrote an Introduction to Windows PowerShell Cmdlets in Windows 7. Windows PowerShell is a command-line shell and scripting language that helps IT professionals achieve greater productivity and control system administration more easily without the need for a programming background.

PowerShell also introduces the concept of a cmdlet (pronounced "command-let"), which are specialized commands in the PowerShell environment that implement specific functions. In addition to more than two hundred core cmdlets that ship with PowerShell, you can also write your own cmdlets and share them with other users. To that end, the Group Policy Management Console (GPMC) ships with several PowerShell cmdlets that you can use to configure registry-based settings and various GPMC tasks.

 You can use these Group Policy cmdlets to perform the following tasks for domain-based Group Policy objects (GPOs):

·         Maintain GPOs: GPO creation, removal, backup, reporting, and import.

·         Associate GPOs with Active Directory Directory Services (AD DS) containers: Group Policy link creation, update, and removal.

·         Set inheritance and permissions on AD DS organizational units (OUs) and domains.

·         Configure registry-based policy settings and Group Policy Preferences Registry settings.

To learn more about these Group Policy cmdlets, including how to access the cmdlets, which cmdlets are available, how to use the cmdlets, and examples that you can copy and paste into your PowerShell console session or script, visit the TechNet topic “Group Policy Cmdlets


Tom Archer, Programming Writer


Comments (0)

Skip to main content