Overwrite broken module

This commit is contained in:
Manuel Thalmann 2024-08-21 03:20:37 +02:00
parent 8fb126a091
commit fdeb84f42b

View file

@ -161,6 +161,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";
};