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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.