Complete the code to list all properties and methods of the object stored in $obj.
$obj | [1]The Get-Member cmdlet shows the properties and methods of an object in PowerShell.
Complete the code to show only the methods of the object $item.
$item | Get-Member -MemberType [1]The -MemberType Method option filters the output to show only methods.
Fix the error in the code to correctly get the properties of $data.
$data | Get-Member -MemberType [1]The -MemberType parameter expects the exact member type name, which is Property with capital P and singular.
Fill both blanks to list only the properties of $record and display their names.
$record | Get-Member -MemberType [1] | Select-Object [2]
Use Property to filter member type and Name to select the property names.
Fill all three blanks to get methods of $obj that start with 'Get' and select their names.
$obj | Get-Member -MemberType [1] | Where-Object { $_.Name -like '[2]' } | Select-Object [3]
Filter for Method, then use Where-Object to find names starting with 'Get', and finally select the Name property.