human
How do I get a list of all the documents in a SharePoint library?
assistant
You can use the Get-SPSite method to get a list of all the sites in a SharePoint site collection. Then you can use the Get-SPSiteContent method to get a list of all the documents in a SharePoint library.