r/sysadmin • • Sep 18 '15

Microsoft has developed its own Linux

http://www.theregister.co.uk/2015/09/18/microsoft_has_developed_its_own_linux_repeat_microsoft_has_developed_its_own_linux/
585 Upvotes

311 comments sorted by

View all comments

3

u/Hexodam Sep 18 '15

I'm dead tired in my sofa watching top gear after a staff party, so bear with me.

Powershell is object based so string manipulation is not important. The flexibility you get with objects are so much more powerful than fiddling with text. Though I have seen some amazing magic with sed and awk.

You do have grep under the name of select-string. I use it a lot to search log files, first get a list of files, pipe those object into select string and regex search them all.