Added Windows Optional Features

This commit is contained in:
simeononsecurity
2020-12-26 20:18:14 +00:00
committed by GitHub
parent f4bf6a45e6
commit f29f1792dd

View File

@ -18,6 +18,18 @@ Start-Job -Name "Install and Configure Chocolatey" -ScriptBlock {
choco upgrade all choco upgrade all
} }
Start-Job -Name "Installing Optional Windows Features" -ScriptBlock {
#Enable-WindowsOptionalFeature -Online -FeatureName "" -All
Enable-WindowsOptionalFeature -Online -FeatureName "Client-ProjFS" -All -NoRestart
Enable-WindowsOptionalFeature -Online -FeatureName "ClientForNFS-Infrastructure" -All -NoRestart
Enable-WindowsOptionalFeature -Online -FeatureName "DataCenterBridging" -All -NoRestart
Enable-WindowsOptionalFeature -Online -FeatureName "DirectoryServices-ADAM-Client" -All -NoRestart
Enable-WindowsOptionalFeature -Online -FeatureName "Microsoft-Windows-Subsystem-Linux" -All -NoRestart
Enable-WindowsOptionalFeature -Online -FeatureName "NFS-Administration" -All -NoRestart
Enable-WindowsOptionalFeature -Online -FeatureName "ServicesForNFS-ClientOnly" -All -NoRestart
Enable-WindowsOptionalFeature -Online -FeatureName "SimpleTCP" -All -NoRestart
}
Start-Sleep 15 Start-Sleep 15
Start-Job -Name "Installing Windows Updates" -ScriptBlock { Start-Job -Name "Installing Windows Updates" -ScriptBlock {
Write-Host "Install Latest Windows Updates" Write-Host "Install Latest Windows Updates"