Thursday, July 23, 2015

Get Internet Explorer executable path

I wanted to make it look cool:

gci $env:SystemDrive\ -r "iexplore.exe" -af -ea 0 | % FullName


How to make it shorter with same functionality?