Using the GPMC’s Prebuilt Scripts

The GPMC provides a set of prebuilt WSH scripts that leverage the GPMC scripting interfaces that we just discussed to automate common Group Policy management tasks. On a standard GPMC installation, these scripts can be found in the %ProgramFiles%\GPMC\scripts folder. Most of the scripts have a .wsf file extension. The Windows Script File (.wsf) format is an XML-based scripting environment that lets you combine Jscript-based and VBScript-based scripts into a single .wsf file. It also allows for multiple jobs to be referenced so you can call a .wsf file and reference only a particular job or only a particular routine. Because these scripts are XML-based, they are normal text files that can be viewed in Notepad. ...

Get Microsoft® Windows® Group Policy Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.