Get All Documents Inventory in a Site using PowerShell-
For each site, we need to extract one entry per item in the document library, including the item’s name, location, and size.
For each site, we need to extract one entry per item in the document library, including the item’s name, location, and size.