PowerShell - Cmdlets and Pipeline
You want to find only the properties of a service object that start with 'Status'. Which command correctly uses
Get-Member to filter these properties?Get-Member to filter these properties?Get-Member does not support a -Name or -Filter parameter for partial matches, so filtering must be done after.Where-Object to filter properties by nameGet-Member output to Where-Object with a script block filtering names starting with 'Status'.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions