Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Produce List of Disabled Windows Features

$
0
0

Summary: Use Windows PowerShell to produce a list of disabled Windows features.

Hey, Scripting Guy! Question How can I use Windows PowerShell to see what Windows features are disabled in my installation?

Hey, Scripting Guy! AnswerOpen an elevated Windows PowerShell console, use the Get-WindowsOptionalFeatures cmdlet, and specify
           that you want to run the command online. You may also want to filter the list by disabled state and sort the list,
           for example:

Get-WindowsOptionalFeature -Online | ? state -eq 'disabled' | select featurename | sort -Descending

Note  The ? is an alias for the Where-Object cmdlet.


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>