March 10th, 2013

PowerTip: Use PowerShell to Find Disabled Features in Windows 8

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to find disabled Windows features in Windows 8.

Hey, Scripting Guy! Question How can I use Windows PowerShell 3.0 in Windows 8 to find disabled Windows features?

Hey, Scripting Guy! Answer 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’

 

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback