forked from Ingo72/AZ-400-V2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup-az-400.ps1
53 lines (46 loc) · 2.06 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
# Install Chcolatey
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 microsoft-edge -y
choco install googlechrome -y
choco install vscode -y
choco install dotnet-6.0-sdk -y
choco install dotnet-8.0-sdk -y
choco install git -y
choco install gitextensions -y
choco install git-lfs.install -y
choco install nodejs --version=18.17.1 -y
choco install azure-cli -y
choco install azure-functions-core-tools --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 ms-azuretools.vscode-azurecontainerapps
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
# Azurite Storage Emulator
npm install -g azurite
# Install Angular
npx @angular/cli@latest analytics off
npm i -g @angular/cli
# Finished Msg
Write-Host "Finished Software installation" -ForegroundColor yellow