Using PowerShell, I am trying to understand the concept of a default sort property.
According to this example, for the Sort-Object command:
PS C:\>get-childitem | sort-object
Because no properties are specified, Sort-Object uses the default sort property for objects of type file and directory , which is Name .
Is there any way to find out for any given type, which is the default sort property?
powershell
JΓ©rΓ΄me
source share