Skip to content

Instantly share code, notes, and snippets.

@robie2011
Last active November 28, 2017 10:16
Show Gist options
  • Save robie2011/24cca23cf8bc0425a70f8f52ac0d23b5 to your computer and use it in GitHub Desktop.
Save robie2011/24cca23cf8bc0425a70f8f52ac0d23b5 to your computer and use it in GitHub Desktop.
# Chocolately
Run as Admin
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
Untested
choco install chrome
choco install keepass
choco install trello
choco install MsSqlServer2014Express -y
choco install MsSqlServerManagementStudio2014Express -y
choco install jre8 -y
invoke-webrequest -uri https://www.jumpmind.com/downloads/symmetricds/releases/3.8/symmetric-pro-3.8.31-setup.jar -outfile $env:Tmp\symmetric-pro-latest.jar
java -jar $env:Tmp\symmetric-pro-latest.jar
invoke-webrequest -uri https://swupdate.openvpn.org/community/releases/openvpn-install-2.4.4-I601.exe -outfile $env:Tmp\openvpn-latest.exe
$env:Tmp\openvpn-latest.exe
new-item -path HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer -name EnableAutoTray -val
ue "0"
choco install 7zip -y
choco install git -y
choco install greenshot -y
choco install notepadplusplus -y
Set-Culture de-CH
Set-WinHomeLocation 223
Set-WinUserLanguageList -LanguageList de-CH
Set-TimeZone "W. Europe Standard Time"
--- Enable SQL Mixed auth. mode
USE [master]
GO
EXEC xp_instance_regwrite N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'LoginMode', REG_DWORD, 2
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment