Saturday, October 26, 2013

How many cmdlets are available that can deal with generic objects? (Hint: remember to use a singular noun like “object” rather than a plural one like “objects”.)





 How many cmdlets are available that can deal with generic objects? (Hint: remember to
use a singular noun like “object” rather than a plural one like “objects”.)

get-command -noun object

PS C:\> get-command -noun object

CommandType     Name                                               ModuleName      
-----------     ----                                               ----------       
Cmdlet          Compare-Object                                     Microsoft.Powe...
Cmdlet          ForEach-Object                                     Microsoft.Powe...
Cmdlet          Group-Object                                       Microsoft.Powe...
Cmdlet          Measure-Object                                     Microsoft.Powe...
Cmdlet          New-Object                                         Microsoft.Powe...
Cmdlet          Select-Object                                      Microsoft.Powe...
Cmdlet          Sort-Object                                        Microsoft.Powe...
Cmdlet          Tee-Object                                         Microsoft.Powe...
Cmdlet          Where-Object                                       Microsoft.Powe...

Featured Posts

Day 2: Waiting, Hoping… and Getting Frustrated

​ Thursday morning, the last week of April 2026. I walked back into the gym at exactly the same time — 9:00 AM. There’s something about ro...