Set-InputSetting¶
SYNOPSIS¶
Sets a general setting for an input based on the setting name/key.
SYNTAX¶
GeneralSettings¶
StreamSettings¶
Set-InputSetting -Input <InputEvent> [-Stream] [-StreamNumber <Int32>] -Name <String> -Value <String>
[<CommonParameters>]
DESCRIPTION¶
The Set-InputSetting
cmdlet enables settings to be updated on inputs with minimal effort.
REQUIREMENTS
- Requires VMS connection and will attempt to connect automatically
EXAMPLES¶
Example 1¶
Get-VmsInput -Name 'Axis P3265-LVE (10.1.1.133) - Input 1' | Set-InputSetting -General -Name InputRiseTrigger -Value closed
Sets the "Input rises on" value to "Closed" for the input named 'Axis P3265-LVE (10.1.1.133) - Input 1'
PARAMETERS¶
-General¶
Specifies that the setting applies to the General settings. This switch is required.
Type: SwitchParameter
Parameter Sets: GeneralSettings
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Input¶
Specifies the Input to be updated as returned by Get-VmsInput
.
Type: InputEvent
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Name¶
Specifies the name of the property to be updated.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Stream¶
** Not Used **
Type: SwitchParameter
Parameter Sets: StreamSettings
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-StreamNumber¶
** Not Used **
Type: Int32
Parameter Sets: StreamSettings
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Value¶
Specifies the value for updating the specified property.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.