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
- 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
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