Scripting Group Policy Tasks
Updated: April 7, 2003
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
GPMC provides a comprehensive set of COM interfaces for scripting many Group Policy-related operations. The interfaces are documented in the Group Policy Management Console SDK, which is located at %programfiles%\gpmc\scripts\gpmc.chm on any computer where you installed GPMC. (The Group Policy Management Console SDK is only available in English.)
When you install GPMC, a set of sample scripts illustrating the use of these interfaces are installed to the %programfiles%\gpmc\scripts directory.
The sample scripts address real-world administrative problems and scenarios. You can perform various tasks such as finding all GPOs in a domain that have duplicate names or generating a list of all GPOs in a domain whose settings are disabled or partially disabled.
|Scripted control of individual settings inside a GPO is not provided.|