Appendix: Scripts

Applies To: Operations Manager 2007

To prevent an unrestricted increase of KMS data in the data warehouse and the KMS reporting tables, the KMS Sample Reports package implements a data grooming routine that removes all KMS data from the database after 90 days.

KMS Management Pack Scripts Included

Script Description

KMSDiscovery.vbs

Discovers and creates instance of Microsoft.Windows.KeyManagement.Service class

Collecting Service Discovery Data

Service discovery is the process of discovering roles, components, and relationships for managed computers. Each management pack collects service discovery data that is specific to the technology that the management pack supports. Many features of a management pack are not available until after service discovery data is collected for the first time. For example, features that require identifying roles, computer groups, and even targeted computers for specific tasks require service discovery data.