From 9972dd2f38ac74b6f8f760f49a8561bf50c9ebb8 Mon Sep 17 00:00:00 2001 From: simeononsecurity <4913771+simeononsecurity@users.noreply.github.com> Date: Wed, 3 Aug 2022 22:10:12 -0500 Subject: [PATCH] Update windows10.ps1 --- windows10.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows10.ps1 b/windows10.ps1 index 031b544..da6c79a 100644 --- a/windows10.ps1 +++ b/windows10.ps1 @@ -28,7 +28,7 @@ Start-Job -Name "Install and Configure Chocolatey" -ScriptBlock { Start-Job -Name "Installing Optional Windows Features" -ScriptBlock { #https://www.ghacks.net/2017/07/14/use-windows-powershell-to-install-optional-features/ #Enable-WindowsOptionalFeature -Online -FeatureName "" -All - ForEach ($OptionalFeature in ("Client-ProjFS", "ClientForNFS-Infrastructure", "DataCenterBridging", "DirectoryServices-ADAM-Client", "Microsoft-Windows-Subsystem-Linux", "NFS-Administration", "ServicesForNFS-ClientOnly", "SimpleTCP", "WindowsMediaPlayer")) { + ForEach ($OptionalFeature in ("Client-ProjFS", "ClientForNFS-Infrastructure", "DataCenterBridging", "DirectoryServices-ADAM-Client", "NFS-Administration", "ServicesForNFS-ClientOnly", "SimpleTCP", "WindowsMediaPlayer")) { Enable-WindowsOptionalFeature -Online -FeatureName "$OptionalFeature" -All -NoRestart -WarningAction SilentlyContinue | Out-Null }