Get device events associated with Hardware, Camera, Microphone, Speaker, Metadata, Input, and Output devices.
Get-VmsDeviceEvent cmdlet gets device events associated with Hardware, Camera, Microphone, Speaker, Metadata,
Input, and Output devices. These events are made available by the Hardware and the available events will depend on the
make, model, and firmware, the configuration of the device prior to adding it to Milestone, as well as the device pack
version installed on the recording server.
Note that some devices do not have events, and not all devices will have the same events. The available events might
change after installing new plugins or firmware on the hardware. If you do not find the events you expect, you may need
to run an "update hardware" or "replace hardware" task. The
Set-VmsHardwareDriver command can be used to trigger a
"replace hardware" task which may result in an updated set of hardware/camera/device events.
- Requires VMS connection and will attempt to connect automatically
- Requires VMS version 21.1
Selects the first camera returned from
Get-VmsCamera and returns all available hardware events.
Selects the first microphone returned from
Get-Microphone and returns only the events where the "EventUsed" property is
$true. These are the available events that have been "added", but only the ones where both "EventUsed" and "Enabled"
$true will be active and possible to use as a rule or alarm trigger in the VMS.
Selects the first input returned from
Get-Input and returns only the events that are both added (EventUsed is
Specifies one of the following device types: Hardware, Camera, Microphone, Speaker, Metadata, Input, or Output.
- Allowed item types: Hardware, Camera, Microphone, Speaker, Metadata, InputEvent, Output
When specified, only events where the Enabled property matches will be returned. All events are returned by default.
Specifies the name of the event to return, with support for wildcard characters. All events are returned by default.
When specified, only events where the EventUsed property matches will be returned. All events are returned by default.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
NoteProperty property members named
HardwareDeviceEvent are added to the
object(s) returned by this command and these are required by