Most people know that you can enable or disable the optional Windows features through the Control Panel, but today we’re going to show you how you can do the same thing through the PowerShell command line in Windows 8.
Manage Windows Optional Features From PowerShell
The first thing you will want to do is see what features you have enabled, to do this we will need to pass the output of the Get-WindowsOptionalFeature cmdlet down the pipeline, where it can be filtered and formatted:
Get-WindowsOptionalFeature āOnline | Where-Object {$_.State āeq āEnabledā} | Format-Table
That will give you a nice tabulated view of what is enabled.
If you want to see what features are disabled you can use the following:
Get-WindowsOptionalFeature āOnline | Where-Object {$_.State āeq āDisabledā} | Format-Table
If you need to disable a feature you can use the following:
Disable-WindowsOptionalFeature āFeatureName NetFx3 āOnline
This assumes that the feature that you want to disable is NetFx3.
Of course, you will most likely be adding a feature which can be done like so:
Enable-WindowsOptionalFeature āFeatureName NetFx3 āOnline
Thatās all there is to it.
- › The Best Articles for Using and Customizing Windows 8
- › What Can You Do With the USB Port on Your Router?
- › ExpressVPN Review: An Easy-to-Use and Secure VPN for Most People
- › 10 Things Blocking Your Wi-Fi Signal at Home
- › This Is How Steve Jobs Killed Adobe Flash
- › How to Make Your Facebook Account More Private
- › 4 Ways to Ruin Your Smartphone’s Battery