spo list label get¶
Gets label set on the specified list
Usage¶
spo list label get [options]
Options¶
Option | Description |
---|---|
--help |
output usage information |
-u, --webUrl <webUrl> |
URL of the site where the list to get the label from is located |
-l, --listId [listId] |
ID of the list to get the label from. Specify either listId or listTitle but not both |
-t, --listTitle [listTitle] |
Title of the list to get the label from. Specify either listId or listTitle but not both |
-o, --output [output] |
Output type. json|text . Default text |
--verbose |
Runs command with verbose logging |
--debug |
Runs command with debug logging |
Examples¶
Gets label set on the list with title ContosoList located in site https://contoso.sharepoint.com/sites/project-x
spo list label get --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle ContosoList
Gets label set on the list with id cc27a922-8224-4296-90a5-ebbc54da2e85 located in site https://contoso.sharepoint.com/sites/project-x
spo list label get --webUrl https://contoso.sharepoint.com/sites/project-x --listId cc27a922-8224-4296-90a5-ebbc54da2e85