About 6,830,000 results
Open links in new tab
  1. PowerShell Find file (Search for Files using Get-ChildItem)

    Sep 8, 2023 · You can easily find files by name, and location, search file for string, or find file locations using a match pattern. You can use the Get-ChildItem cmdlet in PowerShell to Find …

  2. Use Windows PowerShell to search for files

    Jun 27, 2016 · We can use Get-Childitem to show a list of files and/or directories quite easily. The following example lists all files on the root of Drive C: Get-Childitem –Path C:\ If we add a …

  3. Powershell script to locate specific file/file name?

    Dec 8, 2018 · From a powershell prompt, use the gci cmdlet (alias for Get-ChildItem) and -filter option: This will return an exact match to filename " hosts ".

  4. How to Find File by Name in PowerShell?

    May 11, 2024 · In this tutorial, I will show you different methods to find files by name in PowerShell. To find a file by name using PowerShell, you can utilize the Get-ChildItem cmdlet …

  5. Find a File in PowerShell: Quick and Easy Methods

    To find a file in PowerShell, you can use the `Get-ChildItem` cmdlet in combination with the `-Filter` parameter to search for specific files in a directory. Here’s how you can do that: Get …

  6. Recursive file search using PowerShell - Stack Overflow

    Dec 15, 2014 · If you want to search for a file with a certain extension, but don't know the name of the file, you can use: dir -Path C:\FolderName -Filter *.fileExtension -Recurse | …

  7. How to List Directories and Files in PowerShell

    May 6, 2025 · However, you might need to list files from PowerShell’s folders and subfolders recursively. To make the script recursive, you simply need to add the -Recurse parameter to …

  8. How to Find a Specific File by Name Using PowerShell

    Feb 2, 2024 · This article demonstrates how we can locate a specific file with PowerShell. The Get-ChildItem cmdlet is a useful PowerShell utility we can employ to locate a file by name or …

  9. How to search a string in multiple files and return the names of files ...

    Nov 16, 2011 · There are a variety of accurate answers here, but here is the most concise code for several different variations. For each variation, the top line shows the full syntax and the …

  10. Search and delete file using PowerShell

    Jun 18, 2023 · In this blog post, we will explore a PowerShell script that allows you to search for and delete a specific file, providing detailed explanations for each line of the script. …

  11. Some results have been removed
Refresh