SyntaxFix
Write A Post
Hire A Developer
Questions
Use:
dir -r | where { $_ -is [System.IO.DirectoryInfo] }