Forefront TMG Administration Scripting
The Forefront TMG administration object model gives developers a mechanism to extend the functionality of Forefront TMG. Scripting allows you to use the Forefront TMG administration COM objects to access and control any Forefront TMG computer within an organization. The administration objects allow for automation of all the tasks performed through Forefront TMG Management. This capability allows administrators to create scripts to automate repetitive and complex tasks requiring the use of Forefront TMG Management. These scripts can then be included in batch files. By programming with the same administration objects that Forefront TMG uses, developers can provide persistent and configurable data storage for their programs, and can have Forefront TMG notify programs when the configuration data has changed.
Note Forefront TMG does not provide full backward compatibility for programs and scripts written for ISA Server 2000.
Using Microsoft Management Console (MMC), developers can also customize Forefront TMG Management by adding new property pages, menus, toolbars, and buttons, and by extending the namespace. For examples of Forefront TMG Management customization, see Extending Forefront TMG Management.
The following topics demonstrate how administrative tasks performed using Forefront TMG Management can be automated through the use of the administration objects:
- Getting Started with Administration COM Objects
- Configuring Arrays
- Configuring Schedules
- Defining Groups of Users
- Managing the Forefront TMG Cache
- Extending Forefront TMG Storage
- Configuring Add-ins
- Forefront TMG Administration Script Samples
Note The Microsoft Visual Basic® and Visual Basic Scripting Edition (VBScript) samples provided in this documentation are meant to demonstrate use of the Forefront TMG administration objects. For clarity, the samples ordinarily do not include error handling. It is important that your programs and code include error handling. Error handling is demonstrated in Cut-and-Paste Forefront TMG Administration Functions.
Build date: 7/12/2010