Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Scripting Queries in SMS

Published : April 11, 2005

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.

note.gif  Note:
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
Related Sections
External Resources

In This Section

How to Run an SMS Scripting Query 

Shows how to run a query that returns all available Windows 2003 Server systems.

How to Summarize an SMS Site's Health 

Shows how to determine the current health of an SMS site.

How to Enumerate Available Queries on an SMS Site 

Shows how to display a list of the queries available on an SMS site.

How to View an SMS Collection 

Shows how to display the members of the Windows 2003 Server collection.

How to Query SMS Component Status for a Specified Interval 

Shows how to get a report of error and warning messages for SMS components generated during a specified interval.

How to Query SMS Site Status for a Specified Interval 

Shows how to get a report of the site status for a specified interval.

Related Sections

WMI and SMS 

External Resources

External Resources for SMS Scripting 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.