Last active
April 20, 2018 17:12
-
-
Save LSTANCZYK/f5727b0b77be124828f00e552de278a1 to your computer and use it in GitHub Desktop.
New dev machine chocolatey packages
This file contains hidden or 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
# From a command prompt: | |
# USE: Pase this into cmd/powershell "START http://boxstarter.org/package/nr/url?{RAW-URL-FOR-THIS-FILE}" | |
choco feature enable -n=allowGlobalConfirmation | |
choco feature enable -n=autoUninstaller | |
choco feature enable -n=failOnAutoUninstaller | |
choco install PowerShell DotNet3.5 DotNet4.0 4.5 | |
chocolatey install IIS-WebServerRole -source windowsFeatures | |
chocolatey install IIS-HttpCompressionDynamic -source windowsfeatures | |
chocolatey install IIS-ManagementScriptingTools -source windowsfeatures | |
chocolatey install IIS-WindowsAuthentication -source windowsfeatures | |
################################################################### | |
choco install toolsroot | |
choco install IIS-WebServerRole -source windowsFeatures | |
#Tools | |
choco install keepass sysinternals 7zip filezilla putty sharex sudo totalcommander notepad3 markdownpad2 cccp nimbletext conemu | |
#Network | |
choco install ngrok curl wget postman fiddler4 | |
#Scripting | |
choco install scriptcs powershellhere powershell | |
#Database | |
choco install sql-operations-studio SqlServerLocalDb sql-server-management-studio | |
#IDE and dev | |
choco install visualstudio2017enterprise | |
choco install windows-sdk-10.1 dotnetcore-sdk | |
choco install visualstudio2017-workload-data | |
choco install visualstudio2017-workload-node | |
choco install visualstudio2017-workload-webcrossplat | |
choco install visualstudio2017-workload-netcoretools | |
choco install visualstudio2017-workload-netcorebuildtools | |
choco install visualstudio2017-workload-netweb | |
choco install visualstudio2017-workload-manageddesktop | |
choco install webpi linqpad wixtoolset dnspy yarn resharper smtp4dev nugetpackageexplorer powerbi | |
choco install vscoloroutput addnewfile ignorefiles | |
#Azure | |
choco install visualstudio2017-workload-azure | |
choco install microsoftazurestorageexplorer | |
choco install azurepowershell | |
#VS Code | |
choco install visualstudiocode | |
choco install vscode-mssql | |
choco install vscode-powershell | |
choco install vscode-csharp | |
choco install vscode-icons | |
choco install vscode-docker | |
choco install vscode-gitignore | |
choco install vscode-gitlens | |
choco install openinvscode | |
#source control and friends | |
choco install git wingrep tortoisegit sourcetree kdiff hg tortoisehg | |
choco install psake | |
#fonts | |
choco install font-awesome-font hackfont FiraCode SourceCodePro | |
#Java Runtime | |
choco install javaruntime | |
#special | |
choco install gitlab-runner | |
choco install paint.net inkscape | |
choco install Microsoft-Hyper-V-All -source windowsFeatures | |
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","User") | |
code --install-extension PeterJausovec.vscode-docker | |
code --install-extension donjayamanne.githistory | |
################################################################### | |
$chrome = convert-path (ls "$env:localappdata\" -recurse -include "chrome.exe")[0].pspath | |
If ($chrome -ne "") | |
{ | |
Install-ChocolateyPinnedTaskBarItem $chrome | |
} | |
$conemu = (ls "$env:programfiles\conemu" | where name -like "conemu*.exe")[0].name | |
Install-ChocolateyPinnedTaskBarItem "$env:programfiles\conemu\$conemu" | |
#---- TEMPORARY --- | |
#Disable-UAC | |
#------------ | |
#Disable-BingSearch | |
#Disable-GameBarTips | |
# 3D Builder | |
Get-AppxPackage Microsoft.3DBuilder | Remove-AppxPackage | |
# Alarms | |
Get-AppxPackage Microsoft.WindowsAlarms | Remove-AppxPackage | |
# Autodesk | |
Get-AppxPackage *Autodesk* | Remove-AppxPackage | |
# Bing Weather, News, Sports, and Finance (Money): | |
Get-AppxPackage Microsoft.BingFinance | Remove-AppxPackage | |
Get-AppxPackage Microsoft.BingNews | Remove-AppxPackage | |
Get-AppxPackage Microsoft.BingSports | Remove-AppxPackage | |
Get-AppxPackage Microsoft.BingWeather | Remove-AppxPackage | |
# Comms Phone | |
Get-AppxPackage Microsoft.CommsPhone | Remove-AppxPackage | |
# Dell | |
Get-AppxPackage *Dell* | Remove-AppxPackage | |
# Dropbox | |
Get-AppxPackage *Dropbox* | Remove-AppxPackage | |
Get-AppxPackage *Facebook* | Remove-AppxPackage | |
# Feedback Hub | |
Get-AppxPackage Microsoft.WindowsFeedbackHub | Remove-AppxPackage | |
# Get Started | |
Get-AppxPackage Microsoft.Getstarted | Remove-AppxPackage | |
# Keeper | |
Get-AppxPackage *Keeper* | Remove-AppxPackage | |
# Mail & Calendar | |
Get-AppxPackage microsoft.windowscommunicationsapps | Remove-AppxPackage | |
# Maps | |
Get-AppxPackage Microsoft.WindowsMaps | Remove-AppxPackage | |
#Sway | |
Get-AppxPackage Microsoft.Office.Sway | Remove-AppxPackage | |
# Xbox | |
Get-AppxPackage Microsoft.XboxApp | Remove-AppxPackage | |
Get-AppxPackage Microsoft.XboxIdentityProvider | Remove-AppxPackage | |
# Zune Music, Movies & TV | |
Get-AppxPackage Microsoft.ZuneMusic | Remove-AppxPackage | |
Get-AppxPackage Microsoft.ZuneVideo | Remove-AppxPackage | |
# Disable Xbox Gamebar | |
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" -Name AppCaptureEnabled -Type DWord -Value 0 | |
Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name GameDVR_Enabled -Type DWord -Value 0 | |
# Turn off People in Taskbar | |
If (-Not (Test-Path "HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People")) { | |
New-Item -Path HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People | Out-Null | |
} | |
Set-ItemProperty -Path "HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People" -Name PeopleBand -Type DWord -Value 0 | |
# Privacy: Let apps use my advertising ID: Disable | |
If (-Not (Test-Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo")) { | |
New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo | Out-Null | |
} | |
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 0 | |
# WiFi Sense: HotSpot Sharing: Disable | |
If (-Not (Test-Path "HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting")) { | |
New-Item -Path HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting | Out-Null | |
} | |
Set-ItemProperty -Path HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting -Name value -Type DWord -Value 0 | |
# WiFi Sense: Shared HotSpot Auto-Connect: Disable | |
Set-ItemProperty -Path HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots -Name value -Type DWord -Value 0 | |
# Start Menu: Disable Bing Search Results | |
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name BingSearchEnabled -Type DWord -Value 0 | |
# To Restore (Enabled): | |
# Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name BingSearchEnabled -Type DWord -Value 1 | |
########################################### | |
# Schedule updates to applications with chocolatey | |
########################################### | |
schtasks.exe /create /s "localhost" /ru "System" /tn "Update Chocolatey Packages" /tr "%ChocolateyInstall%\bin\cup all" /sc DAILY /st 11:00 /F | |
Write-BoxstarterMessage "Update schedule for Chocolatey applications created" | |
#if (Test-PendingReboot) { Invoke-Reboot } | |
mkdir c:\Development | |
#--- Restore Temporary Settings --- | |
#Enable-UAC | |
#Enable-MicrosoftUpdate | |
#Install-WindowsUpdate -acceptEula -Full | |
#### special | |
Enable-PSRemoting -Force |
This file contains hidden or 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
# From a command prompt: | |
# USE: Pase this into cmd/powershell "START http://boxstarter.org/package/nr/url?{RAW-URL-FOR-THIS-FILE}" | |
$Boxstarter.RebootOk=$true # Allow reboots? | |
$Boxstarter.NoPassword=$false # Is this a machine with no login password? | |
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot | |
choco feature enable -n=allowGlobalConfirmation | |
choco feature enable -n=autoUninstaller | |
choco feature enable -n=failOnAutoUninstaller | |
Update-ExecutionPolicy Unrestricted | |
Enable-RemoteDesktop | |
Enable-MicrosoftUpdate | |
Disable-InternetExplorerESC | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
if (Test-PendingReboot) { Invoke-Reboot } | |
# Update Windows and reboot if necessary | |
Install-WindowsUpdate -AcceptEula | |
if (Test-PendingReboot) { Invoke-Reboot } | |
cinstm PowerShell | |
cinstm DotNet3.5 | |
cinstm DotNet4.0 | |
cinstm DotNet4.5 | |
if (Test-PendingReboot) { Invoke-Reboot } | |
choco install IIS-WebServerRole -source windowsFeatures | |
cinst IIS-HttpCompressionDynamic -source windowsfeatures | |
cinst IIS-ManagementScriptingTools -source windowsfeatures | |
cinst IIS-WindowsAuthentication -source windowsfeatures | |
################################################################### | |
choco install toolsroot | |
choco install IIS-WebServerRole -source windowsFeatures | |
#Tools | |
choco install keepass sysinternals 7zip filezilla putty sharex sudo totalcommander notepad3 markdownpad2 cccp nimbletext conemu | |
#Network | |
choco install ngrok curl wget postman fiddler4 | |
#Scripting | |
choco install scriptcs powershellhere powershell | |
#Database | |
choco install sql-operations-studio SqlServerLocalDb sql-server-management-studio | |
#IDE and dev | |
choco install visualstudio2017enterprise | |
choco install windows-sdk-10.1 dotnetcore-sdk | |
choco install visualstudio2017-workload-data | |
choco install visualstudio2017-workload-node | |
choco install visualstudio2017-workload-webcrossplat | |
choco install visualstudio2017-workload-netcoretools | |
choco install visualstudio2017-workload-netcorebuildtools | |
choco install visualstudio2017-workload-netweb | |
choco install visualstudio2017-workload-manageddesktop | |
choco install webpi linqpad wixtoolset dnspy yarn resharper smtp4dev nugetpackageexplorer powerbi | |
choco install vscoloroutput addnewfile ignorefiles | |
#Azure | |
visualstudio2017-workload-azure | |
microsoftazurestorageexplorer | |
azurepowershell | |
#VS Code | |
choco install visualstudiocode | |
choco install vscode-mssql | |
choco install vscode-powershell | |
choco install vscode-csharp | |
choco install vscode-icons | |
choco install vscode-docker | |
choco install vscode-gitignore | |
choco install vscode-gitlens | |
choco install openinvscode | |
#source control and friends | |
choco install git wingrep tortoisegit sourcetree kdiff hg tortoisehg | |
choco install psake | |
#fonts | |
choco install font-awesome-font hackfont FiraCode SourceCodePro | |
#Java Runtime | |
cinstm javaruntime | |
#special | |
choco install gitlab-runner | |
choco install paint.net inkscape | |
cinst Microsoft-Hyper-V-All -source windowsFeatures | |
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","User") | |
code --install-extension PeterJausovec.vscode-docker | |
code --install-extension donjayamanne.githistory | |
################################################################### | |
$chrome = convert-path (ls "$env:localappdata\" -recurse -include "chrome.exe")[0].pspath | |
If ($chrome -ne "") | |
{ | |
Install-ChocolateyPinnedTaskBarItem $chrome | |
} | |
$conemu = (ls "$env:programfiles\conemu" | where name -like "conemu*.exe")[0].name | |
Install-ChocolateyPinnedTaskBarItem "$env:programfiles\conemu\$conemu" | |
#---- TEMPORARY --- | |
Disable-UAC | |
#------------ | |
Disable-BingSearch | |
Disable-GameBarTips | |
# 3D Builder | |
Get-AppxPackage Microsoft.3DBuilder | Remove-AppxPackage | |
# Alarms | |
Get-AppxPackage Microsoft.WindowsAlarms | Remove-AppxPackage | |
# Autodesk | |
Get-AppxPackage *Autodesk* | Remove-AppxPackage | |
# Bing Weather, News, Sports, and Finance (Money): | |
Get-AppxPackage Microsoft.BingFinance | Remove-AppxPackage | |
Get-AppxPackage Microsoft.BingNews | Remove-AppxPackage | |
Get-AppxPackage Microsoft.BingSports | Remove-AppxPackage | |
Get-AppxPackage Microsoft.BingWeather | Remove-AppxPackage | |
# Comms Phone | |
Get-AppxPackage Microsoft.CommsPhone | Remove-AppxPackage | |
# Dell | |
Get-AppxPackage *Dell* | Remove-AppxPackage | |
# Dropbox | |
Get-AppxPackage *Dropbox* | Remove-AppxPackage | |
Get-AppxPackage *Facebook* | Remove-AppxPackage | |
# Feedback Hub | |
Get-AppxPackage Microsoft.WindowsFeedbackHub | Remove-AppxPackage | |
# Get Started | |
Get-AppxPackage Microsoft.Getstarted | Remove-AppxPackage | |
# Keeper | |
Get-AppxPackage *Keeper* | Remove-AppxPackage | |
# Mail & Calendar | |
Get-AppxPackage microsoft.windowscommunicationsapps | Remove-AppxPackage | |
# Maps | |
Get-AppxPackage Microsoft.WindowsMaps | Remove-AppxPackage | |
#Sway | |
Get-AppxPackage Microsoft.Office.Sway | Remove-AppxPackage | |
# Xbox | |
Get-AppxPackage Microsoft.XboxApp | Remove-AppxPackage | |
Get-AppxPackage Microsoft.XboxIdentityProvider | Remove-AppxPackage | |
# Zune Music, Movies & TV | |
Get-AppxPackage Microsoft.ZuneMusic | Remove-AppxPackage | |
Get-AppxPackage Microsoft.ZuneVideo | Remove-AppxPackage | |
# Disable Xbox Gamebar | |
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" -Name AppCaptureEnabled -Type DWord -Value 0 | |
Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name GameDVR_Enabled -Type DWord -Value 0 | |
# Turn off People in Taskbar | |
If (-Not (Test-Path "HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People")) { | |
New-Item -Path HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People | Out-Null | |
} | |
Set-ItemProperty -Path "HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People" -Name PeopleBand -Type DWord -Value 0 | |
# Privacy: Let apps use my advertising ID: Disable | |
If (-Not (Test-Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo")) { | |
New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo | Out-Null | |
} | |
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 0 | |
# WiFi Sense: HotSpot Sharing: Disable | |
If (-Not (Test-Path "HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting")) { | |
New-Item -Path HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting | Out-Null | |
} | |
Set-ItemProperty -Path HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting -Name value -Type DWord -Value 0 | |
# WiFi Sense: Shared HotSpot Auto-Connect: Disable | |
Set-ItemProperty -Path HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots -Name value -Type DWord -Value 0 | |
# Start Menu: Disable Bing Search Results | |
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name BingSearchEnabled -Type DWord -Value 0 | |
# To Restore (Enabled): | |
# Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name BingSearchEnabled -Type DWord -Value 1 | |
########################################### | |
# Schedule updates to applications with chocolatey | |
########################################### | |
schtasks.exe /create /s "localhost" /ru "System" /tn "Update Chocolatey Packages" /tr "%ChocolateyInstall%\bin\cup all" /sc DAILY /st 11:00 /F | |
Write-BoxstarterMessage "Update schedule for Chocolatey applications created" | |
if (Test-PendingReboot) { Invoke-Reboot } | |
mkdir c:\Development | |
#--- Restore Temporary Settings --- | |
Enable-UAC | |
Enable-MicrosoftUpdate | |
Install-WindowsUpdate -acceptEula -Full | |
#### special | |
Enable-PSRemoting -Force |
This file contains hidden or 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
choco install toolsroot | |
choco install IIS-WebServerRole -source windowsFeatures | |
#Tools | |
choco install keepass sysinternals 7zip filezilla putty sharex sudo totalcommander notepad3 markdownpad2 cccp nimbletext conemu | |
#Network | |
choco install ngrok curl wget postman fiddler4 | |
#Scripting | |
choco install scriptcs powershellhere powershell | |
#Database | |
choco install sql-operations-studio SqlServerLocalDb sql-server-management-studio | |
#IDE and dev | |
choco install visualstudio2017enterprise | |
choco install windows-sdk-10.1 dotnetcore-sdk | |
choco install visualstudio2017-workload-data | |
choco install visualstudio2017-workload-node | |
choco install visualstudio2017-workload-webcrossplat | |
choco install visualstudio2017-workload-netcoretools | |
choco install visualstudio2017-workload-netcorebuildtools | |
choco install visualstudio2017-workload-netweb | |
choco install visualstudio2017-workload-manageddesktop | |
choco install webpi linqpad wixtoolset dnspy yarn resharper smtp4dev nugetpackageexplorer powerbi | |
choco install vscoloroutput addnewfile ignorefiles | |
#Azure | |
visualstudio2017-workload-azure | |
microsoftazurestorageexplorer | |
azurepowershell | |
#VS Code | |
choco install visualstudiocode | |
choco install vscode-mssql | |
choco install vscode-powershell | |
choco install vscode-csharp | |
choco install vscode-icons | |
choco install vscode-docker | |
choco install vscode-gitignore | |
choco install vscode-gitlens | |
choco install openinvscode | |
#source control and friends | |
choco install git wingrep tortoisegit sourcetree kdiff hg tortoisehg | |
choco install psake | |
#fonts | |
choco install font-awesome-font hackfont FiraCode SourceCodePro | |
#Java Runtime | |
cinstm javaruntime | |
#special | |
choco install gitlab-runner | |
choco install paint.net inkscape | |
cinst Microsoft-Hyper-V-All -source windowsFeatures | |
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","User") | |
code --install-extension PeterJausovec.vscode-docker | |
code --install-extension donjayamanne.githistory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment