A.6 GP Repository Scripting Object Model

Most of the GP Repository operations that are performed from the user interface can be automated by using the GP Repository scripting objects and their methods. The following list identifies the primary scripting objects:

Root

Creation of this object is a prerequisite for any GP Repository script operation as this exposes the key method to connect to the GP Repository. Other methods include domain creation, enumeration and creation of other GP Repository objects.

Domain

Offers functionality to create categories, enumerate categories and delete domains.

Category

Offers functionality to create GPO, Enumerate GPOs in category, Import GPO from Active Directory, Delete Category.

GPO

Offers functionality to report, Copy, Paste, Migrate, Query GPO status and modify GPO status.