Skip to content

spo site get

Gets information about the specific site collection


spo site get [options]


Option Description
--help output usage information
-u, --url <url> URL of the site collection to retrieve information for
--query [query] JMESPath query string. See for more information and examples
-o, --output [output] Output type. json,text. Default text
--pretty Prettifies json output
--verbose Runs command with verbose logging
--debug Runs command with debug logging


This command can retrieve information for both classic and modern sites.


Return information about the site collection.

spo site get -u