Ellipsis (modification of post by view diff)
embed code: <script type="text/javascript" src="http://PoshCode.org/embed/477"></script>download | new post
The infamous ellipsis function lets you pick out a single property, rather like using Select -Expand … except it runs in about 2/3 the time.
- ## Usage: ls | ... FullName
- ################################################
- ${function:...} = { process { $_.$($args[0]) } }
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.
PowerShell Code Repository