Retrieves a specific Folder from a given Site.

Get-SPOFolder -Web <SPOWebPipeBind> -Url <String>




Specifies the identity of the Site containing the File to retrieve.

The type must be a valid server relative URL, in the form /site_name, or an SPOWeb object, Microsoft.SharePoint.Client.Web object, or GUID representing the Site ID.


The server relative URL to the folder to retrieve.

Detailed Description

Retrieve a specific SPOFolder object from a Site given the server relative URL to the folder. The Site provided by the -Web parameter must correspond to the Site where the folder is located or else an argument out of range exception will be thrown.

Copyright 2016 Falchion Consulting, LLC

> For more information on this cmdlet and others:


> Use of this cmdlet is at your own risk.

> Gary Lapointe assumes no liability.



PS C:\> Get-SPOFolder -Web "/" -Url "/Shared Documents/My Folder"

Retrieves the folder "My Folder" from the Documents library within the root Site of the current Site Collection.