I\'m using PowerShell 2.0 and I want to pipe out all the subdirectories of a certain path. The following command outputs all files and directories, but I can\'t figure out h
In PowerShell 3.0, it is simpler:
Get-ChildItem -Directory #List only directories Get-ChildItem -File #List only files