New-UDSelectGroup
Synopsis
Creates a new select group.
Syntax
New-UDSelectGroup [-Option] <ScriptBlock> [-Name] <String> [<CommonParameters>]Description
Creates a new select group. This cmdlet is to be used with New-UDSelect. Pass the result of this cmdlet to the -Option parameter to create a new select group.
Parameters
-Option
Options to include in this group.
Required? true
Position? 1
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false-Name
The name of the group. This will be displayed in the select.
Common parameters
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.
Last updated
Was this helpful?