windows-powershell-docs icon indicating copy to clipboard operation
windows-powershell-docs copied to clipboard

Additionnal Details to be provided in this article

Open felymich opened this issue 2 years ago • 2 comments

Hello,

When adding multiple features I saw I need a coma between them but what about for dependencies... Should they be all listed one by one in "...,..." e.g.: -FeatureName "Windows-Defender-Features*,Windows-Defender" or should there is another option? I tried: Get-WindowsOptionalFeature -Online -FeatureName "Windows-Defender-Features*,Windows-Defender*" | Sort-Object | Format-Table

it does not work !!!

Thanks, Dom

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

felymich avatar May 13 '22 16:05 felymich

@felymich , I conformed Windows-Defender-Features is not windows features , because windows defender is already enabled in default windows 10 ,11 OS.

RAJU2529 avatar May 24 '22 14:05 RAJU2529

@felymich , To get a complete list of Windows optional features which are embedded whether disabled or enabled in Windows OS . Execute Get-WindowsOptionalFeature -Online in powershell command

RAJU2529 avatar May 24 '22 14:05 RAJU2529

@felymich Thank you for your feedback. As @RAJU2529 has mentioned you can first verify the features using Get-WindowsOptionalFeature -Online and then find out whether it is disabled or enabled in windows os. Also, Windows-Defender-Features is not windows features.

Hope this helps!

Thanks Sri

msbemba avatar Nov 30 '22 13:11 msbemba

Thank you for submitting feedback. We understand that this issue has been resolved. Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.

scanum avatar Nov 30 '22 18:11 scanum