Powershell get-childitem cmdlet (Intro to Powershell series video 5-1)_2024

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 1

  • @MustaFARMRENDER
    @MustaFARMRENDER 5 месяцев назад

    Thank you Roger , I found a code like this to search for words in excel files in a certain folder, but I think it only gives 1 result and ends, for example, I want to search for the word Roger in d:/folder / excel1,excel2...a lot of excel files, there are both excel1 and excel2, but as a result it shows the first one it finds and ends, how can I turn this code into a cycle? PS C:\WINDOWS\system32> Get-ChildItem -Path "F:\3ds arsiv\Yeni klasör\exc\." -Recurse | Select-String -Pattern "Roger"