Subscribes to Milestone events from the Event Server
Subscribes to events from the Event Server. By default only MessageId.Server.NewEventsIndication events are subscribed to, but you can either manually supply your own MessageId's in the Message parameter or you can use the built-in switches to include configuration changes and failover event messages.
Events are transposed to a more PowerShell-friendly shape by default but with the -Raw switch you can get the original event objects which will have far more detail. For example, you can dig in to analytic events to retrieve information like plate # and confidence value.
- Requires VMS connection and will attempt to connect automatically
Captures up to 10 events and times out after 60 seconds if less than 10 events are received.
Filter the NewEventIndication messages to include only those with the a message value matching a specific value. Only valid if EventHeaderType is null.
Filter the NewEventIndication messages to include only those with the designated Event Header Type.
Specifies that you wish not to see NewEventsIndication messages. Use this if you're looking for more specific events and you know the MessageId for those events
Specifies that you wish to receive events sent about configuration changes
Specifies that you wish to receive events sent about Recording Server failovers
Specifies that you want to stop listening for events after a given number of events have been received. If the value is less than 1, there will be no limit imposed and you may need to interrupt the trace manually to stop it with CTRL+C
Specifies a TimeSpan to wait between events before stopping the trace. There is no limit by default.
Optional user-defined MessageId values to register a listener for
Specifies that you want to receive an unaltered copy of the event indications from the Event Server. The event will be wrapped in a MessageQueueMessage object which contains the Message and a datetime value named TimeReceived which represents the time the message was received in this PowerShell session. The TimeReceived may be a few seconds older than the time the event is written to the pipeline since there may be some event queuing in the local session depending on how long your event post-processing takes.
Specifies that you want to listen for events for a limited time. There is no Timeout by default.
Specifies that you want to listen for events from all sites in a Milestone Federated Hierarchy.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.