PowerTip: Limit Get-Childitem to a limited depth in the tree
Summary: Use the new -depth parameter to control how far down a directory you can search. I have a large file structure to search but I only want to go two folders deep on the search. Is there a way to do this in PowerShell? Certainly! In PowerShell 5.0, you can use the -depth parameter to specify how many branches deep you’d like to limit fro...