PowerShell grep
I kept forgetting how to perform the equivalent of grep(1)
in PowerShell. The simple answer is Select-String
. It is aliased to sls
.
ipconfig | Select-String 192.168
I should probably add a permanent alias.
Software programmer interested in SRE, DevOps, Machine Learning and Augmented Reality.
I kept forgetting how to perform the equivalent of grep(1)
in PowerShell. The simple answer is Select-String
. It is aliased to sls
.
ipconfig | Select-String 192.168
I should probably add a permanent alias.