Powershell to get total disk space used per directory
With BizTalk, we often archive files in a disk directory, where each Vendor has its own archive. Simple Example I found the simple example below, then expanded upon: <pre> Get-ChildItem E:\Archive | Measure-Object -Property Length -sum </pre> Source from http://woshub.com/powershell-get-folder-sizes/ Fancy Example This starts with the Archive directory then basically runs the command above for […]