Recursive file search using PowerShell

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Recursive file search using PowerShell

Message par Clippy »

Recursive file search using PowerShell
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: Recursive file search using PowerShell

Message par Clippy »

Use the [Get-ChildItem](http://technet.microsoft.com/en-us/library/hh849800.aspx) cmdlet with the `-Recurse` switch:

```
Get-ChildItem -Path V:\Myfolder -Filter CopyForbuild.bat -Recurse -ErrorAction SilentlyContinue -Force

```
Répondre

Revenir à « PowerShell »