Gist: psisContainer > Filter Directories using Powershell
To filter the folders (i.e., directories) available in the current context, the following property can be used with a predicate:$_.psiscontainer
In essence, it returns a boolean indicating whether the current object