Microsoft KB Archive/212909

= SMS: How to Display the Number of Resources Contained in a Collection or Query =

Article ID: 212909

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Systems Management Server 2.0 Standard Edition

-



This article was previously published under Q212909



SUMMARY
It is sometimes useful to know how many Systems Management Server resources are contained in a collection or query. This article demonstrates how to find out.



Steps to Determine the Number of Resources Within a Collection
 Open the SMS Administrator console and navigate to the Collections folder. Right-click a collection. Select All Tasks, and then select Update Collection Membership. Wait for the membership update to finish updating. Right-click the same collection, and then click Show Count. The Show Count dialog box should appear and display the following message:

Total Number of resources in collection is [x]



Steps to Determine the Number of Resources Within a Query
In order to determine the number of resources within a query, you must first turn the query into a collection. To turn a query into a collection, follow these steps:
 * 1) Right-click the Collections folder, point to New, and then click Collection.
 * 2) Type a name for the collection.
 * 3) On the Membership Rules tab, click Query Rules Property to add a query to the membership rules.
 * 4) In the Query Rule Properties dialog box, click Browse, and then select the query for which you want to get a count.
 * 5) Click OK three times to complete creation of the new collection.
 * 6) Perform the steps that are listed in the first procedure in this section to determine the number of resources that are in your new collection.

Additional query words: prodsms

Keywords: kbinfo KB212909

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.