Windows Server 2012 – Get Folder Size Statistics

Here is a PowerShell function helpful in populating statistics of sub-folder sizes. Create a PS1 file named Get-FolderSize.ps1 with the following contents: Function Get-FolderSize {  BEGIN{$fso = New-Object -comobject Scripting.FileSystemObject}  PROCESS …