-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmachine-setup.ps1
24 lines (18 loc) · 1.29 KB
/
machine-setup.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# To run this script directly, open PowerShell and run this command:
# PS> Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/refactoring-pipelines/Pipelines/master/machine-setup.ps1 | Invoke-Expression
#Requires -RunAsAdministrator
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/windows.ps1 | iex
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/visual-studio.ps1 | iex
cinst dotnetcore-2.1-runtime
@(
'joaompinto.vscode-graphviz'
) | % { & "C:\Program Files\Microsoft VS Code\bin\code.cmd" --install-extension $_ }
& "C:\Program Files\Git\cmd\git.exe" clone https://github.com/refactoring-pipelines/Pipelines.git C:\Source\Pipelines
github C:\Source\Pipelines
Write-Host -Foreground yellow " ################################################################"
Write-Host -Foreground yellow " # Install NuGet API key now: #"
Write-Host -Foreground yellow " # 1. Get API key from https://www.nuget.org/account/apikeys #"
Write-Host -Foreground yellow " # 2. > NuGet.exe setapikey BLAH-BLAH-BLAH #"
Write-Host -Foreground yellow " ################################################################"
Write-Host -Foreground yellow ""
Write-Host -Foreground yellow "Reboot when done"