Skip to content

spo site get

Gets information about the specific site collection

Usage

spo site get [options]

Options

Option Description
--help output usage information
-u, --url <url> URL of the site collection to retrieve information for
-o, --output [output] Output type. json|text. Default text
--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.

spo site get -u https://contoso.sharepoint.com/sites/project-x