2
0

Set Order on PSGallery

This commit is contained in:
scarrington 2024-12-12 14:02:48 -06:00
parent cdc326ee4d
commit c0816981a8

View File

@ -1,5 +1,5 @@
# Script to run the initial Windows Updates # Script to run the initial Windows Updates
SInstall-PackageProvider -Name NuGet -Force Install-PackageProvider -Name NuGet -Force
Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted
Install-Module -Name PSWindowsUpdate Install-Module -Name PSWindowsUpdate
Import-Module PSWindowsUpdate Import-Module PSWindowsUpdate