PowerShell: how to grep command output?

前端 未结 7 1307
温柔的废话
温柔的废话 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*
    
    0 讨论(0)
提交回复
热议问题