About 41,300 results
Open links in new tab
  1. Get-ChildItem (Microsoft.PowerShell.Management) - PowerShell

    You can use the Recurse parameter to get items in all child containers and use the Depth parameter to limit the number of levels to recurse. The Get-ChildItem cmdlet is designed to …

  2. PowerShell Recursive Directory Listing Made Easy

    A PowerShell recursive directory listing allows you to view all files and subdirectories within a specified directory tree by using the `Get-ChildItem` cmdlet with the `-Recurse` parameter.

  3. What is the use of -recurse in powershell? - Stack Overflow

    Nov 24, 2021 · Because inadvertently deleting an entire subfolder tree can have disastrous consequences, as a safety mechanism PowerShell requires you to signal the intent to delete a …

  4. PowerShell Basics: -Recurse Parameter | Example: Get-ChildItem

    Jan 8, 2019 · -Recurse is a classic switch, which instructs PowerShell commands such as Get-ChildItem to repeat in sub directories. Once you remember that -Recurse comes directly after …

  5. How to search for files recursively in PowerShell?

    Jun 6, 2024 · To search for files recursively in PowerShell, use the Get-ChildItem cmdlet with the -Recurse parameter. For example, to find all .txt files in a folder and its subfolders, use Get …

  6. Get Permissions on folders and subfolders using PowerShell

    Aug 30, 2021 · In the above PowerShell example, to get permissions on folders and subfolders recursively, Get-ACL can’t return all folders and subfolders permission hence we need to use …

  7. How to Recursively Delete an Entire Directory in PowerShell 2.0 …

    Dec 18, 2025 · This blog post will demystify why Remove-Item -Recurse -Force fails in PowerShell 2.0, provide a step-by-step manual workaround, and offer a robust scripted …

  8. 10 Most Useful PowerShell Commands for Everday Users - How …

    Sep 2, 2025 · Notice that -recurse flag in the Remove-Item command: this is why it's vital to always carefully read all commands and check all paths are correct, as running a recursive …

  9. Working with files and folders - PowerShell | Microsoft Learn

    Oct 1, 2005 · This article discusses how to deal with specific file and folder manipulation tasks using PowerShell.

  10. Recursive File Search Using PowerShell - Delft Stack

    Jan 30, 2023 · With the -Recurse parameter, you can get the files from all the directories or subdirectories from the specified locations. It means you can search the files recursively in a …