Skip to content

New command: Set classification label #772

@waldekmastykarz

Description

@waldekmastykarz

Sets classification label on the specified list

command: spo list label set -u|--webUrl <webUrl> -l|--listId [listId] -t|--listTitle [listTitle] --label <label> --syncToItems --blockDeletion --blockEdit

  • webUrl: The URL of the site where the list is located
  • listId: The ID of the list on which to set the label. Specify listId or listTitle but not both
  • listTitle: The title of the list on which to set the label. Specify listId or listTitle but not both
  • label: The label to set on the list
  • syncToItems: Specify, to set the label on all items in the list
  • blockDeletion: Specify, to disallow deleting items in the list
  • blockEdit: Specify, to disallow editing items in the list

For more information see: https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnplabel?view=sharepoint-ps

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions