diff --git a/scripts/Windows/Software/chocolatey/Manage.ps1 b/scripts/Windows/Software/chocolatey/Manage.ps1 index d48becad..45674d91 100644 --- a/scripts/Windows/Software/chocolatey/Manage.ps1 +++ b/scripts/Windows/Software/chocolatey/Manage.ps1 @@ -17,7 +17,7 @@ Start-SoftwareInstaller @PSBoundParameters ` } ` -Configurator { $nativeProfile = powershell -c '$PROFILE'; - New-Item -Force $nativeProfile; + $null = New-Item -Force $nativeProfile; choco install -y --force chocolatey; Copy-Item -Force $nativeProfile $PROFILE;