Skip to content

spo folder get

Gets information about the specified folder


spo folder get [options]


Option Description
--help output usage information
-u, --webUrl <webUrl> The URL of the site where the folder is located
-f, --folderUrl <folderUrl> Site-relative URL of the folder
--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


If no folder exists at the specified URL, you will get a Please check the folder URL. Folder might not exist on the specified URL error.


Get folder properties for folder with site-relative url '/Shared Documents' located in site

spo folder get --webUrl --folderUrl '/Shared Documents'