Get-All File Size From Folder
Function Get-AllFileSizeFromFolder($web, $ctx, [String]$RelativeUrl, [Microsoft.SharePoint.Client.Folder]$Folder) { $RelativeUrl = $RelativeUrl + "/" + $Folder.Name #Get All Files of the Folder $Ctx = $Folder.Context $Ctx.load($Folder.files) $Ctx.ExecuteQuery() #Get all files in Folder #write-host…