Install powershell modules for all users

This commit is contained in:
Manuel Thalmann 2024-08-16 16:43:30 +02:00
parent dd78af2f54
commit 530f6d1a34

View file

@ -159,8 +159,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";
};