Share via


SharePoint Online SPOMod: Get-SPOFolderFiles

This article describes a function of a custom SharePoint Online module available for download and installation on GitHub  where it welcomes all your suggestions and contributions.

Get-SPOFolderFiles

Retrieves all files in a given folder.

Parameters

ServerRelativeUrl  Mandatory  Relative url of the folder.

 

Examples

----- EXAMPLE 1 ------
Get files from the top level folder.

Get-SPOFolderFiles -ServerRelativeUrl "/sites/SiteCollection/library/" 

----- EXAMPLE 2 ------
Get files from the second level folder.

Get-SPOFolderFiles -ServerRelativeUrl "/sites/SiteCollection/lib/SecondLevelFolder"

See Also

SPOMod Cmdlets and Resources 
Connect-SPOCSOM
Get-SPOList
Set-SPOFileCheckout
Set-SPOFileCheckin
Deny-SPOFileApproval
Approve-SPOFile

PowershellScripts @ GitHub