Provide a mechanism to collect the count of objects collected by a wsman enumeration
Description
In some circumstances, e.g. Eventlog monitoring via Ws-Man, it would be extremely helpful to store the number of "nodes" returned by an enumeration, so that a user can create thresholds on that count.
For instance, using a WQL filter in a collection group such as:
...we don't necessarily care about the content of each event (we obviously know what they are), but we want to know if the number of events increases to gauge when new events are created.
In some circumstances, e.g. Eventlog monitoring via Ws-Man, it would be extremely helpful to store the number of "nodes" returned by an enumeration, so that a user can create thresholds on that count.
For instance, using a WQL filter in a collection group such as:
...we don't necessarily care about the content of each event (we obviously know what they are), but we want to know if the number of events increases to gauge when new events are created.