Install powershell modules for all users

This commit is contained in:
Manuel Thalmann 2024-08-16 16:43:30 +02:00
parent 9dd831b084
commit 73d427b305

View file

@ -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";
};