To filter (only show) healthy disks you’ll need to use the Where-Object cmdlet (Where) instead of Select-Object (Select).
# PowerShell v3.0 and later
Get-PhysicalDisk | Where-Object Status -eq 'Healthy'
Get-PhysicalDisk | Where-Object { $PSItem.Status -eq 'Healthy' }
# PowerShell v1.0 and later
Get-PhysicalDisk | Where-Object { $_.Status -eq 'Healthy' }
The purpose of Where-Object is to filter objects passing through the pipeline. Select-Object can be used to select properties of objects passing through the pipeline.
Just writing a comment saying “Thank you” as you did is enough here.
Depending on your mode of learning the book “Learn PowerShell 3 in a Month of Lunches” is very good and highly recommended, and a great investment. The book is completely applicable to v4 and v5 because these versions only added advanced concepts which wouldn’t have been covered in the book anyway.