PowerShell: how to grep command output?

前端 未结 7 1325
温柔的废话
温柔的废话 2021-01-30 08:27

In PowerShell I have tried:

alias | select-string Alias

This fails even though Alias is clearly in the output. I know this is beca

7条回答
  •  迷失自我
    2021-01-30 08:55

    The proposed solution is just to much work for something that can be done like this:

    Get-Alias -Definition Write*
    

提交回复
热议问题