Update windows10.ps1

This commit is contained in:
simeononsecurity
2021-02-19 21:11:17 +00:00
committed by GitHub
parent 1d726053ea
commit 8fcf3600e0

View File

@ -30,6 +30,10 @@ Start-Job -Name "Installing Optional Windows Features" -ScriptBlock {
Install-Module -Name PowerShellGet -Force Install-Module -Name PowerShellGet -Force
Update-Module -Name PowerShellGet -Force Update-Module -Name PowerShellGet -Force
#https://github.com/PowerShell/PowerShellGetv2/issues/303
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
Install-PackageProvider -Name PowerShellGet -Force -Scope CurrentUser
#https://www.powershellgallery.com/packages/Carbon/2.9.4 #https://www.powershellgallery.com/packages/Carbon/2.9.4
Install-Module -Name Carbon -Force Install-Module -Name Carbon -Force
#https://www.powershellgallery.com/packages/SpeculationControl/1.0.14 #https://www.powershellgallery.com/packages/SpeculationControl/1.0.14