Scripting Queries in SMS
Queries are usually the simplest form of scripting, and because they only return data, rather than changing it, they are also the safest scripts to use.
Some SMS object properties are relatively inefficient to retrieve. If these properties are retrieved for many instances in a class, the response could be considerably delayed. Such properties are considered lazy properties and are not retrieved during query operations.
The scripts in this section require access to an SMS 2003 site server.
For additional information about collections and queries, see the SMS 2003 Concepts, Planning, and Deployment Guide.
On This Page
In This Section
Shows how to run a query that returns all available Windows 2003 Server systems.
Shows how to determine the current health of an SMS site.
Shows how to display a list of the queries available on an SMS site.
Shows how to display the members of the Windows 2003 Server collection.
Shows how to get a report of error and warning messages for SMS components generated during a specified interval.
Shows how to get a report of the site status for a specified interval.