Skip to content

Instantly share code, notes, and snippets.

@xNicklaj
Last active August 19, 2020 17:13
Show Gist options
  • Save xNicklaj/483499c373135a39c3d3e2d3ed78a3ce to your computer and use it in GitHub Desktop.
Save xNicklaj/483499c373135a39c3d3e2d3ed78a3ce to your computer and use it in GitHub Desktop.
This is the script I use to quickly setup all my windows computers.
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
If ((Get-WmiObject Win32_VideoController).name | Select-String -Pattern 'NVIDIA'){
choco install -y nvidia-display-driver
choco install -y geforce-experience
}
choco install -y discord
choco install -y notepadplusplus
choco install -y firefox
choco install -y termius
choco install -y office-tool
choco install -y microsoft-edge
choco install -y powertoys
Write-Host "Press any key to continue ....."
$x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment