Installing IIS Features for .Net Extensibility and ASPNet 4.6 not avaible

We are installing several settings in the Add Roles and Features Wizard, and would find it faster and easier to use PowerShell.

These are required for hosting our applications in our UAT and QA environments, as well as Production.

Even though the options are shown in the Add Roles and Features Wizard, some are not available under Get-WindowsOptionalFeature cmdlet listing. Those include the .Net Extensibility ASP.Net 4.6 and the ASP.Net 4.6 settings.

Similarly, the “Logging Tools” option is shown in the GUI under “Health and Diagnostics”, but not available to
“Enable-WindowsOptionalFeature -Online -FeatureName <feature name>” as we have done with all the rest of the options under these sections, which includes about 10-12 currently.

Something is missing in PowerShell that is available from this Window 16 Server. Can someone shine some light on this? Any guidance is much appreciated.

Try something like the following:

# Get all optional features
$a = Get-WindowsOptionalFeature -Online

# Query a subset of those features
$a | where featurename -match 'IIS-.*Ext|ASP'

Maybe that will help you find what you are looking for.