#Add-SPOContentTypeToList Adds a new content type to a list ##Syntax
Add-SPOContentTypeToList -List <ListPipeBind> -ContentType <ContentTypePipeBind> [-DefaultContentType [<SwitchParameter>]] [-Web <WebPipeBind>]##Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| ContentType | ContentTypePipeBind | True | |
| DefaultContentType | SwitchParameter | False | |
| List | ListPipeBind | True | |
| Web | WebPipeBind | False | The web to apply the command to. Omit this parameter to use the current web. |
| ##Examples |
###Example 1
PS:> Add-SPOContentTypeToList -List "Documents" -ContentType "Project Document" -DefaultContentTypeThis will add an existing content type to a list and sets it as the default content type