SharePoint Online SPOMod: New-SPOListChoiceColumn
This article describes a function of a custom SharePoint Online module available for download and installation on GitHub.
New-SPOListChoiceColumn
Creates a choice column in a list.
Parameters
ListTitle | Mandatory | Name of the list. |
FieldDisplayName | Mandatory | String. Name of the column. |
ChoiceNames | Optional | String array. |
Description | Optional | String. |
Required | Optional | Boolean. |
Format | Optional | Accepts values of 'Dropdown','RadioButtons'. By default set to "Dropdown" |
Group | Optional | |
StaticName | Mandatory | |
Name | Mandatory | |
Version | Optional | |
Type | Optional | |
Examples
----- EXAMPLE 1 ------
New-SPOListChoiceColumn -ListTitle "MyList" -FieldDisplayName "MyNewField"
See Also
SPOMod Cmdlets and Resources
Connect-SPOCSOM
Get-SPOList
Get-SPOListColumn
New-SPOListColumn
Set-SPOListColumn