Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 954 Bytes

RemovePnPField.md

File metadata and controls

31 lines (27 loc) · 954 Bytes

#Remove-PnPField Removes a field from a list or a site ##Syntax

Remove-PnPField -Identity <FieldPipeBind>
                [-Force [<SwitchParameter>]]
                [-Web <WebPipeBind>]
                [-List <ListPipeBind>]

##Parameters

Parameter Type Required Description
Identity FieldPipeBind True The field object or name to remove
Force SwitchParameter False Specifying the Force parameter will skip the confirmation question.
List ListPipeBind False The list object or name where to remove the field from
Web WebPipeBind False The web to apply the command to. Omit this parameter to use the current web.
##Examples

###Example 1

PS:> Remove-PnPField -Identity "Speakers"

Removes the speakers field from the site columns

###Example 2

PS:> Remove-PnPField -List "Demo list" -Identity "Speakers"

Removes the speakers field from the list Demo list