⚡ PowerShell (17 posts)

PowerShell scripts and techniques for Windows and Active Directory administration, automation, and reporting.

How to use grep-like commands in PowerShell

In PowerShell, you can also use a grep like you can do on Linux. In order to search for a string in a file, you can use the following command: sls "Searchthisstring" "C:\myfile.log" -ca If you want…
Read more →