Last active
December 5, 2022 23:25
-
-
Save Staggerlee011/795f295ae7650d463b8c36e9b7cfddbc to your computer and use it in GitHub Desktop.
Chocolatey install and basic configuration for any workstation i use
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
#Requires -RunAsAdministrator | |
<# | |
Workstation Configuration | |
Uses chocolately to install a standard set of software used regularly | |
view log: C:\ProgramData\chocolatey\logs\chocolatey.log | |
## view installed apps | |
choco list --local-only | |
## run updates on all software | |
choco upgrade all | |
Not installed and needs manual intervention from the windows store: | |
- PowerBI | |
- Ubuntu | |
- Kali | |
Install Ubunutu Tools via: | |
- https://gist.github.com/Staggerlee011/2468f729903081cfe51e8357da849536 | |
Configure VSCode via Settings Sncy: | |
- https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync | |
- gist: https://gist.github.com/Staggerlee011/d8a13f0b3354a3a6e014e2a4cd307d8f | |
#> | |
############################################################ | |
# Install Chocolatey | |
############################################################ | |
if (!(Get-Package -Name *choco*)) | |
{ | |
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
} | |
## choco search | |
# choco search chef | |
############################################################ | |
# Install Scoop | |
############################################################ | |
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh') | |
############################################################ | |
## Windows 10 Config | |
############################################################ | |
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux | |
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All | |
# Get-WindowsCapability -Online | ? name -like *OpenSSH.Server* | |
Add-WindowsCapability -Name OpenSSH.Server~~~~0.0.1.0 -Online | |
Set-Service sshd -StartupType Automatic | |
Set-Service ssh-agent -StartupType Automatic | |
Start-Service sshd | |
Start-Service ssh-agent | |
Get-Service -Name *ssh* | select DisplayName, Status, StartType | |
############################################################ | |
## install | |
############################################################ | |
## Apps | |
choco install visualstudiocode -y | |
choco install slack -y | |
choco install pandoc -y | |
## Source Control | |
choco install git -y | |
choco install github -y -ignore-checksums | |
## DevOps Tools | |
choco install docker-desktop -y | |
choco install terraform -y | |
choco install chefdk -y | |
choco install packer -y | |
choco install vagrant -y | |
## k8s | |
choco install kubernetes-cli -y | |
choco install kubernetes-helm -y | |
choco install minikube -y | |
choco install eksctl -y | |
## Data Tools | |
choco install azure-data-studio -y | |
choco install sql-server-management-studio -y | |
## Connection Tools | |
choco install putty -y | |
choco install mremoteng -y | |
## Cloud | |
choco install azure-cli -y | |
choco install awscli -y | |
## Python | |
choco install python3 -y | |
choco install pip -y | |
## Pip | |
pip install pre-commit | |
pip install terrascan | |
## scoop | |
scoop install hadolint | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Scoop ? pandoc ?
chef, packer, vagrant in windows?