Learn about Windows PowerShell
Summary: Use Windows PowerShell to find disabled Windows features in Windows 8.
How can I use Windows PowerShell 3.0 in Windows 8 to find disabled Windows features?
Use the Get-WindowsOptionalFeature cmdlet with the –online parameter and filter for a state of disabled (note this command must run with elevated permissions):
Get-WindowsOptionalFeature -Online | ? state -EQ 'disabled'
@Ed
It turn out that we need to run 'elevated' and this is helpful to the format:
(Get-WindowsOptionalFeature -Online | ? state -EQ 'disabled').'FeatureName'
Thanks for the info on the use of this CmdLet
@JRV you are right it does need to be elevated. Thanks for pointing this out. Also, I do like your formatting tip as well.
@JRV I added a note to the blog post stating it needs elevation. Thanks again for pointing this out.