-# Install Stub PowerShell Profile that sources the one from DotFiles
-
-# Install profile for Windows Terminal
-$destFile = "C:\Users\delaport\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\profiles.json"
-if(-Not(Test-Path -Path $destFile)) {
- Copy-Item -Path ./profiles.json -Destination $destFile
-} else {
- # Brute force ensure we update our git copy once in awhile.
- Copy-Item -Path $destFile -Destination ./profiles.json
-}
-
-# Vault for secret management
-# ... and really for coding better intergrations i.e. for RobotFramework
-if($false) {
- choco install consul
- choco install vault
+## Always Install Chocolatey if missing
+$testchoco = powershell choco -v
+if(-not($testchoco)){
+ Write-Output "Seems Chocolatey is not installed, installing now..."
+ Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))