Sets one or more properties of an existing VMS rule.
Set-VmsRule cmdlet sets one or more properties of an existing VMS rule.
- Requires VMS connection and will attempt to connect automatically
- Requires VMS version 20.1
Renames and disables all rules supported by Configuration API if the
Specifies a new desired enabled-state - either
Specifies a new name / display name.
Specifies that the updated rule should be returned to the pipeline. When used
-WhatIf switch, the unmodified rule will be returned to the pipeline.
Specifies a collection of properties either as a hashtable, or as list of
objects, each having a Key and a Value property. For example, you can pass in
Properties collection from the result of
Get-VmsRule and the Key/Value
properties from each of the properties in the collection will be automatically
converted to a hashtable when calling
Specifies one or more rules returned by Get-VmsRule. When omitted, all rules will be exported. Rules may be provided by name and names will be tab-completed.
- Allowed item types: Rule
Prompts you for confirmation before running the cmdlet.
Shows what would happen if the cmdlet runs. The cmdlet is not run.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.