From c0816981a8bacea613ce808ea2562f46dc19eb4e Mon Sep 17 00:00:00 2001 From: scarrington Date: Thu, 12 Dec 2024 14:02:48 -0600 Subject: [PATCH] Set Order on PSGallery --- Patches/Initial-Windows-Updates.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Patches/Initial-Windows-Updates.ps1 b/Patches/Initial-Windows-Updates.ps1 index a6282ca..71f359b 100644 --- a/Patches/Initial-Windows-Updates.ps1 +++ b/Patches/Initial-Windows-Updates.ps1 @@ -1,5 +1,5 @@ # Script to run the initial Windows Updates -SInstall-PackageProvider -Name NuGet -Force +Install-PackageProvider -Name NuGet -Force Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted Install-Module -Name PSWindowsUpdate Import-Module PSWindowsUpdate