spo site get
Gets information about the specific site collection
Usage
m365 spo site get [options]
Options
-u, --url <url>
URL of the site collection to retrieve information for
-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 isfull
.--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]
Output type.
json
,text
,csv
,md
. Defaultjson
.--verbose
Runs command with verbose logging.
--debug
Runs command with debug logging.
Remarks
This command can retrieve information for both classic and modern sites.
Examples
Return information about the https://contoso.sharepoint.com/sites/project-x site collection.
m365 spo site get -u https://contoso.sharepoint.com/sites/project-x