Get-WindowsOptionalFeature (PS)

Different ways to get a Windows Feature list, installed or not.

Get-WindowsOptionalFeature -Online | Where State
Get-WindowsOptionalFeature -Online | Where State -eq Enabled
Get-WindowsOptionalFeature -Online | Where State -eq Disabled