external help file | Module Name | online version | schema |
---|---|---|---|
AMSoftware.Crm.PowerShell.Commands.dll-Help.xml |
AMSoftware.Crm |
2.0.0 |
Add a new global optionset.
New-CrmOptionSet [-InputObject] <OptionSetMetadata> [-PassThru] [<CommonParameters>]
New-CrmOptionSet [-Name] <String> [-DisplayName] <String> -Values <PSOptionSetValue[]> [-Description <String>]
[-Customizable <Boolean>] [-PassThru] [<CommonParameters>]
Add a new global optionset.
Whether the optionset is customizable.
Type: System.Boolean
Parameter Sets: NewOptionSet
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The description for the optionset.
Type: System.String
Parameter Sets: NewOptionSet
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The displayname for the optionset.
Type: System.String
Parameter Sets: NewOptionSet
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The OptionSetMetadata object for the new optionset.
Type: Microsoft.Xrm.Sdk.Metadata.OptionSetMetadata
Parameter Sets: NewOptionSetByInputObject
Aliases: OptionSet
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
The name for the optionset.
Type: System.String
Parameter Sets: NewOptionSet
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Returns an object that represents the OptionSetMetadata. By default, this cmdlet does not generate any output.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The OptionSetValues for the new optionset.
Type: AMSoftware.Crm.PowerShell.Commands.Models.PSOptionSetValue[]
Parameter Sets: NewOptionSet
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.