Install powershell modules for all users

This commit is contained in:
Manuel Thalmann 2024-08-16 16:43:30 +02:00
parent 4c3152cdaf
commit 0271b970cd

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