New-UDSwitch
Creates a new switch.
Synopsis
Syntax
New-UDSwitch [[-Id] <String>] [-Disabled] [[-OnChange] <Endpoint>] [[-Checked] <Boolean>] [[-ClassName] <String>] [[-Color] <String>] [[-Label] <String>] [[-LabelComponent] <Hashtable>] [[-CheckedLabel] <String>] [[-CheckedLabelComponent] <Hashtable>] [[-UncheckedLabel] <String>] [[-UncheckedLabelComponent] <Hashtable>] [[-Size] <String>] [[-LabelPlacement] <String>] [-CheckStyle] [[-Sx] <Hashtable>] [[-Style] <Hashtable>] [<CommonParameters>]Description
Parameters
-Id
Required? false
Position? 1
Default value ([Guid]::NewGuid())
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-Disabled [<SwitchParameter>]
Whether this switch is disabled.
Required? false
Position? named
Default value False
Accept pipeline input? false
Aliases
Accept wildcard characters? false-OnChange
-Checked
-ClassName
-Color
-Label
-LabelComponent
-CheckedLabel
-CheckedLabelComponent
-UncheckedLabel
-UncheckedLabelComponent
-Size
-LabelPlacement
-Sx
-Style
Outputs
Last updated
Was this helpful?