I just started learning powershell using Technet Virtual Labs
In this one lab the goal is to get all items in a directory then just view the extension object then just list the unique extension so if a n extenstion exists 100 times the output will only show one
Here is the syntax: get-childitem c:\windows\system | select-object extension | sort-object extension -unique
The lab indicates that I am supposed to see all extenstions in the output, I am only seeing one file type
Extension
---------
.DRV
Does anyone have a clue as to why this is taking place ?