Today, we will see how you can generate a list of the disabled features on your Windows 10 computer system using Windows PowerShell. To do this, you have to use the Get-WindowsOptionalFeatures cmdlet and specify that you want to run the command online.
Generate Disabled Features list in Windows using PowerShell
To generate a list of the disabled features on your Windows 10 computer, open an elevated PowerShell console, type the following command and hit Enter:
Get-WindowsOptionalFeature -Online | ? state -eq 'disabled' | select featurename | sort -Descending
To open an elevated PowerShell prompt, in the taskbar search, type powershell. Now see the result Windows PowerShell which appears on the top. Right-click on it and select Run as Administrator.
You will now be able to see a list of disable Windows features on your computer.
Now take a look at how to generate a list of Windows Services using PowerShell.
If you are looking for more PowerShell tips, these links may interest you:
- List Drives using Command Prompt & PowerShell
- Get Installed Driver list and details using PowerShell.