forked from alexander-kastil/az-400
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup-az-400.ps1
59 lines (51 loc) · 2.31 KB
/
setup-az-400.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Install Chocolatey
Write-Host "Installing Chocolatey - 1/4" -ForegroundColor yellow
Set-ExecutionPolicy Bypass -Scope Process -Force;
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
# Install Software
choco install googlechrome -y
choco install vscode -y
choco install git -y
choco install gitextensions -y
choco install git-lfs.install -y
choco install gitversion.portable -y
choco install dotnetcore-sdk -y
choco install dotnet-6.0-sdk -y
choco install nodejs-lts --version=16.15.0 -y
choco install azure-cli -y
choco install azure-functions-core-tools-4 --params="'/x64:true'" -y
choco install gh -y
choco install curl -y
# Refresh Path Env for npm
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
# Set NuGet Source
dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org
# Intall VS Code Extensions
code --install-extension ms-dotnettools.csharp
code --install-extension ms-vscode.powershell
code --install-extension ms-vscode.azurecli
code --install-extension ms-vscode.azure-account
code --install-extension ms-azuretools.vscode-azureappservice
code --install-extension ms-azuretools.vscode-docker
code --install-extension ms-azuretools.vscode-azurefunctions
code --install-extension GitHub.vscode-pull-request-github
code --install-extension redhat.vscode-yaml
code --install-extension bencoleman.armview
code --install-extension mdickin.markdown-shortcuts
code --install-extension mhutchie.git-graph
code --install-extension ms-azure-devops.azure-pipelines
code --install-extension ms-azuretools.vscode-azureterraform
code --install-extension vs-publisher-1448185.keyoti-changeallendoflinesequence
code --install-extension ms-kubernetes-tools.vscode-kubernetes-tools
code --install-extension msazurermtools.azurerm-vscode-tools
code --install-extension ms-azuretools.vscode-bicep
code --install-extension ms-azuretools.vscode-azurecontainerapps
# Azurite Storage Emulator
npm install -g azurite
# Install Angular
npm i -g @angular/cli
# Http-Server
npm i -g http-server
# Finished Msg
Write-Host "Finished Software installation" -ForegroundColor yellow