Get existing rules configured on the VMS.
Get-VmsRule [[-Name] <String>] [<CommonParameters>]
Get-VmsRule -Id <Guid> [<CommonParameters>]
Get-VmsRule cmdlet returns rules configured on the VMS based on the
specified parameters. Note that the Configuration API is unable to represent
all of the possible rule definitions. See Introduction to Configuration API
for more details about support for rules.
According to the Configuration API documentation, the following rule actions are not supported:
- Send notification to profile
- Set matrix to view devices
- Start patrolling on device using profile
- Pause patrolling on devices
- Show access request notification
- Change password on hardware devices
- Play audio message on devices with priority
In addition to these unsupported rule actions, MIP Plugin-defined actions are only supported where the action accepts built-in items as parameters such as Cameras, Microphones, Metadata, and so on. Actions that are generated by a plugin, such as the sample BAT Action plugin, are not supported in Configuration API.
Gets all rule definitions that are possible to represent through Configuration API.
Get-VmsRule -Name '*Default*'
Gets all rule definitions with the word "Default" in the rule name.
Specifies the ID of an existing rule.
Type: Guid Parameter Sets: Id Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False
Specifies the name of an existing role, with support for wildcards.
Type: String Parameter Sets: Name Aliases: DisplayName Required: False Position: 0 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: True
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.