spo propertybag list¶
Gets property bag values
Usage¶
m365 spo propertybag list [options]
Options¶
-u, --webUrl <webUrl>
- The URL of the site from which the property bag value should be retrieved
-f, --folder [folder]
- Site-relative URL of the folder from which to retrieve property bag value. Case-sensitive
-h, --help
- output usage information
--query [query]
- JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
- Output type.
json,text
. Defaulttext
--verbose
- Runs command with verbose logging
--debug
- Runs command with debug logging
Examples¶
Return property bag values located in site https://contoso.sharepoint.com/sites/test
m365 spo propertybag list --webUrl https://contoso.sharepoint.com/sites/test
Return property bag values located in site root folder https://contoso.sharepoint.com/sites/test
m365 spo propertybag list --webUrl https://contoso.sharepoint.com/sites/test --folder /
Return property bag values located in site document library https://contoso.sharepoint.com/sites/test
m365 spo propertybag list --webUrl https://contoso.sharepoint.com/sites/test --folder '/Shared Documents'
Return property bag values located in folder in site document library https://contoso.sharepoint.com/sites/test
m365 spo propertybag list --webUrl https://contoso.sharepoint.com/sites/test --folder '/Shared Documents/MyFolder'
Return property bag values located in site list https://contoso.sharepoint.com/sites/test
m365 spo propertybag list --webUrl https://contoso.sharepoint.com/sites/test --folder /Lists/MyList