It works with pipeline as well
To get all the members of a cmdlet output object, simply pipe the command to
Get-StartApps | Get-Member
To get all the intrinsic members and compiler-generated members of an object (by default they are hidden).
$FirewallRules = Get-NetFirewallRule -Name FPS-* $FirewallRules | Get-Member -Force $FirewallRules.psbase
To get the extended members, like the members are added programmatically or using type xml file.
$VMProcessors = Get-VMProcessor -VMName Lab-ClientX Get-Member -InputObject $VMProcessors -View Extended
Get members by it’s name
Get-NetTCPConnection | Get-Member -Name State | Format-List *
To get the members by it’s type, like properties or methods
Get-NetAdapter | Get-Member -MemberType Properties # All types of properties Get-NetAdapter | Get-Member -MemberType ScriptProperty # ScriptProperties Only Get-NetAdapter | Get-Member -MemberType Methods # All methods Get-NetAdapter | Get-Member -MemberType Method # Only method type