Install chocolatey globally

This commit is contained in:
Manuel Thalmann 2024-10-17 04:09:18 +02:00
parent c51f888284
commit 785de5e5de

View file

@ -18,7 +18,7 @@ Start-SoftwareInstaller -Force @args `
choco install -y --force chocolatey; choco install -y --force chocolatey;
Add-PowerShellProfileStatement ` Add-PowerShellProfileStatement `
-DefaultUser ` -System `
-Category "$Name" ` -Category "$Name" `
-Script (Get-Content $nativeProfile | Out-String) ` -Script (Get-Content $nativeProfile | Out-String) `
-Append; -Append;