About 423,000 results
Open links in new tab
  1. Recursive file search using PowerShell - Stack Overflow

    Get-ChildItem -File -Recurse -Path ./bin/* -Include *.lib You'd think that would give you all *.lib s in all subdirectories, but it only will search top level of bin. In order to search for directories, you can use …

  2. powershell - Why does "Get-ChildItem -Path <> -Recurse" not return …

    May 8, 2025 · Get-ChildItem -Path <> -Recurse" why doesn't it return all the directories? I do not get all the first level directories, only the deeper ones?? In the below example I only get the files In DirOne …

  3. Powershell get full filepath using Get-ChildItem - Stack Overflow

    Mar 23, 2024 · As aside, Get-ChildItem also returns DirectoryInfo objects, not just FileInfo objects unless you tell it what you want returned using parameter -File or -Directory

  4. How to exclude list of items from Get-ChildItem result in powershell ...

    How to exclude list of items from Get-ChildItem result in powershell? Asked 12 years, 3 months ago Modified 2 years, 9 months ago Viewed 163k times

  5. windows - Powershell and Get-ChildItem - Super User

    Nov 21, 2023 · Powershell and Get-ChildItem - why does adding a parameter change the output format? Ask Question Asked 2 years, 1 month ago Modified 2 years, 1 month ago

  6. powershell - Using Get-ChildItem to output to a text file and can't get ...

    Jan 1, 2025 · Using Get-ChildItem to output to a text file and can't get the format of the text file correct Ask Question Asked 1 year ago Modified 1 year ago

  7. Powershell Skip Folder using Get-ChildItem - Super User

    May 22, 2020 · As with so many tinings in PowerShell, there are several ways to accomplish this. First, a quick correction to your expresssions above: FullName vs. Name. FullName is the fully qualified path …

  8. Powershell - Exclude folders in Get-ChildItem - Stack Overflow

    Mar 4, 2016 · You'll need to build a list of the folders to exclude one way or another, whether by doing it manually or by running a different Get-ChildItem command. It depends on how you choose folders to …

  9. powershell - How do I get only directories using Get-ChildItem? - Stack ...

    Jun 21, 2010 · 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 how to filter out the files...

  10. How can I exclude multiple folders using Get-ChildItem -exclude?

    Get-ChildItem -Exclude folder1,folder2 | Get-ChildItem -Recurse | ... Start excluding folders you don't want Then do the recursive search with non desired folders excluded. What I like from this approach …