-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
import initial powershell setup scripts
- Loading branch information
Showing
6 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
echo "Installing Mozilla Firefox Developer Edition" | ||
winget install --id=Mozilla.Firefox.DeveloperEdition -e | ||
echo "Installing Github Packages" | ||
winget install --id=Git.Git -e ; winget install --id=GitHub.cli -e ; winget install --id=GitHub.GitHubDesktop -e | ||
echo "Installing Extra package" | ||
winget install --id=Microsoft.WindowsTerminal -e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
echo "Installing Docker Desktop" | ||
winget install docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
echo "Setup permission elevation package" | ||
winget install --id=gsudo gerardog.gsudo -e | ||
echo "Installing Notepad Plus Plus" | ||
winget install --id=Notepad++.Notepad++ -e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
echo "Installing VsCode" | ||
winget install vscode | ||
echo "Installing Microsoft Visual Studio 2022" | ||
winget install --id=Microsoft.VisualStudio.2022.Community-Preview -e | ||
echo "Installing Dev frameworks.." | ||
winget install --id= Microsoft.DotNet.SDK.7 -e winget install --id=Microsoft.DotNet.SDK.Preview -e ; winget install --id=OpenJS.NodeJS.LTS -e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## Winget stup for windows | ||
if ((Get-ComputerInfo | Select-Object -expand OsName) -match 10) { | ||
echo "Starting Winget setup" | ||
Invoke-WebRequest https://github.com/microsoft/winget-cli/releases/download/v1.6.1573-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle -OutFile ./winget.msixbundle | ||
Add-AppPackage -path ./winget.msixbundle | ||
Remove-Item ./winget.msixbundle | ||
} else { | ||
Install-Module -Name Microsoft.WinGet.Client -Force -AllowPrerelease -AcceptLicense | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
echo "Setting up Windows Linux SubSystem..." | ||
Enable-WindowsOptionalFeature -Online -FeatureName 'Microsoft-Windows-Subsystem-Linux' -All -NoRestart | ||
Enable-WindowsOptionalFeature -Online -FeatureName 'VirtualMachinePlatform' -All -NoRestart | ||
wsl --update | ||
wsl --set-default-version 2 | ||
|
||
Invoke-WebRequest https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi -OutFile ./wsl-kernel.msi | ||
echo "Starting WSL kernel installation..." | ||
Start-Process ./wsl-kernel.msi -ArgumentList "/quiet /passive" | ||
Remove-Item ./wsl-kernel.msi | ||
|
||
echo "Installing Ubuntu image.." | ||
wsl --install Ubuntu |