Site Archives

Powershell: Get folder size and quota information for shared folders and generate a html report

To use this just save it to a ps1 file and update the $serverarray variable with the name of the file servers and the partitions (or folder) on which shared folders are located. Credits for the Get-FolderSize function goes to jfrmilner . ##——– Script starts here $cssstyle = “<style>” $cssstyle = $cssstyle + “BODY{background-color:white;}” $cssstyle [...]