cli-microsoft365
cli-microsoft365 copied to clipboard
Enhancement: add option to get spo folder by id
About: https://pnp.github.io/cli-microsoft365/cmd/spo/folder/folder-get/
The spo folder get
command allows you to get folders by server relative url.
For completeness I'd suggest we should also be able to get a folder by uniqueId, just like with the file-get command.
Option | Description |
---|---|
-u, --folderUrl [folderUrl] |
The server-relative URL of the folder to retrieve. Specify either folderUrl or id but not both. |
-i, --id [id] |
The UniqueId (GUID) of the folder to retrieve. Specify either folderUrl or id but not both. |
The current option name is folderUrl
, this will change in v6 to url
to align with our naming convention.