BIt arranges objects in a specified order based on property values.
CIt deletes objects from a list.
DIt counts the number of objects in a list.
Step-by-Step Solution
Solution:
Step 1: Understand the purpose of Sort-Object
Sort-Object is used to order or arrange objects based on their properties or values.
Step 2: Compare options with the cmdlet's function
Only It arranges objects in a specified order based on property values. correctly describes arranging objects in order. Other options describe unrelated actions.
Final Answer:
It arranges objects in a specified order based on property values. -> Option B
Quick Check:
Sort-Object orders data = C [OK]
Quick Trick:Sort-Object means arranging data in order [OK]
Common Mistakes:
Confusing sorting with deleting or counting
Thinking Sort-Object creates new objects
Assuming it only works on numbers
Master "Cmdlets and Pipeline" in PowerShell
9 interactive learning modes - each teaches the same concept differently