

NET Framework to speed up enumerating and measuring files. I still have the ease of running a command at a PowerShell prompt, but the function uses the. In the latest version of the PSScriptTools module, I created a new function called Get-FolderSizeInfo. But there are always exceptions and as you grow in expertise, you’ll realize there are times when going directly to the. And I always recommend to beginner or even intermediate scripters, if there is a cmdlet to use over the. And if i want to include hidden files, I have to remember to use -Force with Get-ChildItem.Ĭmdlets are nice and convenient.

The other drawbacks, besides typing is it takes extra work for format the results into something more user friendly. It is simple enough to run Get-Childitem and pipe the results to Measure-Object.īut this can be often time consuming. ManageEngine ADManager Plus - Download Free TrialĮxclusive offer on ADManager Plus for US and UK regions. Manage and Report Active Directory, Exchange and Microsoft 365 with
