Overwrite broken module

This commit is contained in:
Manuel Thalmann 2024-08-21 03:20:37 +02:00
parent e040336c9e
commit 11c3b98018

View file

@ -158,6 +158,8 @@ $null = New-Module {
Invoke-Hook "Install-PSModules" -Fallback {
Install-Module -Scope AllUsers -AcceptLicense -Force PSWindowsUpdate;
Install-Module -Scope AllUsers -AcceptLicense -Force PSScriptAnalyzer;
Install-Module -Scope AllUsers -AcceptLicense -AllowPrerelease -AllowClobber -Force LocalAccounts;
Import-Module LocalAccounts;
. "$PSScriptRoot/../Software/PinnedItem/Manage.ps1";
};