diff --git a/src/scripts/win32.ps1 b/src/scripts/win32.ps1 index 7e53794a..1cd59f60 100644 --- a/src/scripts/win32.ps1 +++ b/src/scripts/win32.ps1 @@ -115,7 +115,7 @@ Function Install-PSPackage() { Add-ToProfile $current_profile "$package-search" "Import-Module $module_path" if($null -eq (Get-Command $cmdlet -ErrorAction SilentlyContinue)) { - Install-Module -Name $cmdlet -Force + Install-Module -Name $package -Force } }