While Windows does not include a native grep binary, it provides two highly capable equivalents depending on the command-line environment you use: findstr for the traditional Command Prompt (cmd.exe) and Select-String (aliased as sls) for modern PowerShell environments. Directly Comparing findstr and Select-String Select-String (Microsoft.PowerShell.Utility)
Leave a Reply