Skip to content

Instantly share code, notes, and snippets.

@p10tyr
Last active April 7, 2022 13:57
Show Gist options
  • Save p10tyr/ffe500547f88a047308e86df71237405 to your computer and use it in GitHub Desktop.
Save p10tyr/ffe500547f88a047308e86df71237405 to your computer and use it in GitHub Desktop.
Write-Host 'You should have Winget Installed - https://www.microsoft.com/en-gb/p/app-installer/9nblggh4nns1'
winget --version
pause
winget install Microsoft.WindowsTerminal --silent
winget install --id Microsoft.Powershell --source winget --silent
winget install Git.Git --silent
#install choco
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
$path_repos = "c:\repos"
if (-Not (Test-Path -Path "$path_repos")) { New-Item -Path "$path_repos" -ItemType Directory }
cd c:\repos
git clone https://rocklands.visualstudio.com/DefaultCollection/Airsweb/_git/Airsweb.DevTools
cd c:\repos\Airsweb.DevTools
git checkout main
git pull
wt powershell C:\repos\Airsweb.DevTools\DevSetup\dev_setup.ps1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment