Skip to content

Instantly share code, notes, and snippets.

@eugen1408
Last active August 21, 2019 08:22
Show Gist options
  • Save eugen1408/291dac3d0ac57740cd4dcc2876eaaec8 to your computer and use it in GitHub Desktop.
Save eugen1408/291dac3d0ac57740cd4dcc2876eaaec8 to your computer and use it in GitHub Desktop.
Set-ExecutionPolicy Bypass
cmd /c "bcdedit /set {default} bootmenupolicy legacy"
irm https://git.io/fjbwi -UseBasicParsing -OutFile $env:TEMP\win10.reg; cmd /c "regedit /s %temp%\win10.reg"
Install-PackageProvider -Name chocolatey
Install-PackageProvider -Name ChocolateyGet
Set-PackageSource -Name chocolatey -trusted
Install-Package googlechrome
Install-Package 7zip
Install-Package everything
Install-Package qbittorrent
Install-Package telegram
If ((Get-PnpDevice -PresentOnly -Class Mouse -FriendlyName '*Logitech Gaming*' | measure).Count -gt 0) {Install-Package logitechgaming}
If ((Get-PnpDevice -PresentOnly -Class Mouse -FriendlyName '*Unifying Mouse*' | measure).Count -gt 0) {Install-Package setpoint}
If ((Get-PnpDevice -PresentOnly -Class Display -InstanceId '*VEN_10DE*' | measure).Count -gt 0) {Install-Package nvidia-display-driver}
$confirmation = Read-Host "Install Media Tools? (y/n)"; if ($confirmation -eq 'y') { Install-Package mpc-be; Install-Package foobar2000; Install-Package lavfilters; Install-Package madvr; Install-Package ffdshow; Install-Package avisynthplus }
$confirmation = Read-Host "Install Development Tools? (y/n)"; if ($confirmation -eq 'y') { Install-Package vscode; Install-Package azure-data-studio; Install-Package github-desktop; Install-Package postman }
$confirmation = Read-Host "Use Destroy Windows Spying? (y/n)"; if ($confirmation -eq 'y') { Install-Package dws; cmd /c "C:\Chocolatey\bin\DWS.bat"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment