spo sitescript list
Lists site script available for use with site designs
Usage
m365 spo sitescript list [options]
Options
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options
,examples
,remarks
,response
,full
. Default isoptions
.--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]
Output type.
json
,text
,csv
,md
,none
. Defaultjson
.--verbose
Runs command with verbose logging.
--debug
Runs command with debug logging.
Examples
List all site scripts available for use with site designs
m365 spo sitescript list
Response
- JSON
- Text
- CSV
- Markdown
[
{
"Content": null,
"ContentByteArray": null,
"Description": "Contoso site script",
"Id": "43d4ffa0-c7ee-4a97-91d7-db27e5b62de5",
"IsSiteScriptPackage": false,
"Title": "Contoso",
"Version": 1
}
]
Content ContentByteArray Description Id IsSiteScriptPackage Title Version
------- ---------------- ------------------------- ------------------------------------ ------------------- ------------------- -------
null null Contoso site script 43d4ffa0-c7ee-4a97-91d7-db27e5b62de5 false Contoso 1
Id,IsSiteScriptPackage,Title,Version
43d4ffa0-c7ee-4a97-91d7-db27e5b62de5,,Contoso,1
# spo sitescript list
Date: 2023-06-22
## Contoso (43d4ffa0-c7ee-4a97-91d7-db27e5b62de5)
Property | Value
---------|-------
Description | Contoso site script
Id | 43d4ffa0-c7ee-4a97-91d7-db27e5b62de5
IsSiteScriptPackage | false
Title | Contoso
Version | 1
More information
- SharePoint site design and site script overview: https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview