Hi All.
I can't understand how to work "-InputObject" parameter in "Sort-Object" command. I can't find samples for it. My sample:
PS C:Usersuser> $a = 8,3,4,9,2,11,6
PS C:Usersuser> $a|Sort-Object
2
3
4
6
8
9
11
PS C:Usersuser> Sort-Object -InputObject $a
8
3
4
9
2
11
6
PS C:Usersuser>
I don't understand, this parameter if it doesn't sort elements of the array transferred to it what for is necessary?
Regards