post image

Powershell grep

Jan 3, 2017 Gethugothemes

Just need this little Powershell snippet for later:

get-childitem . -rec -include *.log | select-string -pattern "ERROR" -casesensitive

Similar Posts

OpenBSD PF and OpenDNS

At home, I needed a way to prevent anything but OpenDNS from being used for DNS, and needed a rule that would do it in OpenBSD PF. Install and Configure First off, to setup an OpenDNS client on OpenBSD, install the ddclient package via pkg_add ddclient