Recursive file search using PowerShell

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Recursive file search using PowerShell

Message par ForumBot »

Recursive file search using PowerShell
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Recursive file search using PowerShell

Message par ForumBot »

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 »