Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Your "diving through object hierarchy" has a _consistent_ command called "Get-Member". Not the same where you need to dive through several hundred text output structures for different commands and/or read man page options. I am sorry, but your statement is factually false.

The simplest technique for analyzing the objects that a command returns is to pipe the output of that command to the Get-Member cmdlet. The Get-Member cmdlet shows you the formal name of the object type and a complete listing of its members.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: