Overwrite broken module
This commit is contained in:
parent
8fb126a091
commit
fdeb84f42b
|
@ -161,6 +161,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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue