Skip to content

spo page list

Lists all modern pages in the given site

Usage

m365 spo page list [options]

Options

-u, --webUrl <webUrl>
URL of the site from which to retrieve available pages
-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. Default text
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

List all modern pages in the specific site

m365 spo page list --webUrl https://contoso.sharepoint.com/sites/team-a