From 8b1bdf9c67eeeea4db5b357b0920a94f0458e2c7 Mon Sep 17 00:00:00 2001 From: simeononsecurity <4913771+simeononsecurity@users.noreply.github.com> Date: Fri, 19 Feb 2021 21:14:54 +0000 Subject: [PATCH] Update windows10.ps1 --- windows10.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/windows10.ps1 b/windows10.ps1 index 12c2185..d1802d3 100644 --- a/windows10.ps1 +++ b/windows10.ps1 @@ -33,6 +33,9 @@ Start-Job -Name "Installing Optional Windows Features" -ScriptBlock { #https://github.com/PowerShell/PowerShellGetv2/issues/303 Set-PSRepository -Name PSGallery -InstallationPolicy Trusted Install-PackageProvider -Name PowerShellGet -Force -Scope CurrentUser + + #https://github.com/PowerShell/PowerShellGetv2/issues/295 + Invoke-WebRequest -Uri https://aka.ms/psget-nugetexe -OutFile "$env:ProgramData\Microsoft\Windows\PowerShell\PowerShellGet\NuGet.exe" #https://www.powershellgallery.com/packages/Carbon/2.9.4 Install-Module -Name Carbon -Force @@ -46,8 +49,8 @@ Start-Job -Name "Installing Optional Windows Features" -ScriptBlock { Install-Module -Name PSWindowsUpdate -Force #https://www.powershellgallery.com/packages/SpeculationControl/1.0.14 Install-Module -Name SpeculationControl -Force - #https://www.powershellgallery.com/packages/Upload-Anon/1.1 - #Install-Script -Name Upload-Anon -Force + #https://www.powershellgallery.com/packages/AnonUpload/1.2 + Install-Module -Name AnonUpload -Force #https://www.powershellgallery.com/packages/xCertificate/3.2.0.0 Install-Module -Name xCertificate -Force }