powershell_file_operations

This is an old revision of the document!


Powershell File Operations

Example of searching for files with cmd

#search

cmd /r dir /s /b c:\tmp\*.xml
get-childitem .\ -recurse | where {$_.extension -eq ".txt"} | foreach-object {
     Write-Host $_.FullName
}
  • powershell_file_operations.1635548918.txt.gz
  • Last modified: 2021/10/29 23:08
  • by mgupton