grep in powershell

ibi Apr 25th, 2016 (edited) 288 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # check xml files for string "8080"
  2. ls -r *.xml | % { write $_.fullname; gc $_ | sls "8080" } | out-host -paging
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand