diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index 127d072a..b8b1eca4 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -156,8 +156,8 @@ $null = New-Module { Install-ChocoPackage selenium-gecko-driver firefox; Invoke-Hook "Install-PSModules" -Fallback { - Install-Module -AcceptLicense -Force PSWindowsUpdate; - Install-Module -AcceptLicense -Force PSScriptAnalyzer; + Install-Module -Scope AllUsers -AcceptLicense -Force PSWindowsUpdate; + Install-Module -Scope AllUsers -AcceptLicense -Force PSScriptAnalyzer; . "$PSScriptRoot/../Software/PinnedItem/Manage.ps1"; };