Overwrite broken module

This commit is contained in:
Manuel Thalmann 2024-08-21 03:20:37 +02:00
parent 66bbcca220
commit 99663d0af0

View file

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