Install powershell modules for all users

This commit is contained in:
Manuel Thalmann 2024-08-16 16:43:30 +02:00
parent 433c6ed212
commit 95adedab77

View file

@ -156,8 +156,8 @@ $null = New-Module {
Install-ChocoPackage selenium-gecko-driver firefox; Install-ChocoPackage selenium-gecko-driver firefox;
Invoke-Hook "Install-PSModules" -Fallback { Invoke-Hook "Install-PSModules" -Fallback {
Install-Module -AcceptLicense -Force PSWindowsUpdate; Install-Module -Scope AllUsers -AcceptLicense -Force PSWindowsUpdate;
Install-Module -AcceptLicense -Force PSScriptAnalyzer; Install-Module -Scope AllUsers -AcceptLicense -Force PSScriptAnalyzer;
. "$PSScriptRoot/../Software/PinnedItem/Manage.ps1"; . "$PSScriptRoot/../Software/PinnedItem/Manage.ps1";
}; };