Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 809 Bytes

AddSPOContentTypeToList.md

File metadata and controls

24 lines (20 loc) · 809 Bytes

#Add-SPOContentTypeToList Topic automatically generated on: 2015-10-13

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" -DefaultContentType

This will add an existing content type to a list and sets it as the default content type