forked from TimGebhardt/DevBoxstarter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBoxstarter
108 lines (94 loc) · 4.07 KB
/
Boxstarter
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# Boxstarter options
$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
# Basic setup
Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Disable-InternetExplorerESC
Set-TaskbarSmall
if (Test-PendingReboot) { Invoke-Reboot }
# Update Windows and reboot if necessary
Install-WindowsUpdate -AcceptEula
if (Test-PendingReboot) { Invoke-Reboot }
# Visual Studio SDK required for PoshTools extension
choco install -y VS2013SDK
if (Test-PendingReboot) { Invoke-Reboot }
choco install -y DotNet3.5 # Not automatically installed with VS 2013. Includes .NET 2.0. Uses Windows Features to install.
if (Test-PendingReboot) { Invoke-Reboot }
# VS extensions
Install-ChocolateyVsixPackage PowerShellTools http://visualstudiogallery.msdn.microsoft.com/c9eb3ba8-0c59-4944-9a62-6eee37294597/file/112013/6/PowerShellTools.vsix
Install-ChocolateyVsixPackage WebEssentials2013 http://visualstudiogallery.msdn.microsoft.com/56633663-6799-41d7-9df7-0f2a504ca361/file/105627/31/WebEssentials2013.vsix
Install-ChocolateyVsixPackage T4Toolbox http://visualstudiogallery.msdn.microsoft.com/791817a4-eb9a-4000-9c85-972cc60fd5aa/file/116854/1/T4Toolbox.12.vsix
Install-ChocolateyVsixPackage StopOnFirstBuildError http://visualstudiogallery.msdn.microsoft.com/91aaa139-5d3c-43a7-b39f-369196a84fa5/file/44205/3/StopOnFirstBuildError.vsix
Install-ChocolateyVsixPackage "SpecFlow for 2013" https://visualstudiogallery.msdn.microsoft.com/90ac3587-7466-4155-b591-2cd4cc4401bc/file/112721/3/TechTalk.SpecFlow.Vs2013Integration.vsix
Install-ChocolateyVsixPackage "AttachToW3WP" https://visualstudiogallery.msdn.microsoft.com/14b2a959-446f-406c-bcf0-abe87fc529e7/file/115934/2/AttachToW3WP.vsix
Install-ChocolateyPackage "AWSToolsAndSDKForNet" "msi" "/quiet" "http://sdk-for-net.amazonwebservices.com/latest/AWSToolsAndSDKForNet.msi"
#Other dev tools
choco install -y fiddler4
choco install -y diffmerge
choco install -y ProcExp
choco install -y NugetPackageExplorer
choco install -y windbg
choco install -y linqpad4
choco install -y virtualbox
choco install -y sourcetree
choco install -y gpg4win
choco install -y python2
choco install -y sublimetext3
choco install -y sublimetext3.packagecontrol
choco install -y git
choco install -y githubforwindows
choco install -y Powershell
choco install -y dotpeek
choco install -y vagrant
choco install -y greenshot
#Browsers
choco install -y googlechrome
choco install -y firefox
#Other essential tools
choco install -y 7zip
choco install -y adobereader
choco install -y javaruntime
choco install -y conemu
choco install -y lastpass
choco install -y paint.net
choco install -y windirstat
choco install -y putty
choco install -y filezilla
choco install -y f.lux
choco install -y keepass.install
choco install dropbox
#cinst Microsoft-Hyper-V-All -source windowsFeatures
choco install -y IIS-WebServerRole -source windowsfeatures
choco install -y IIS-HttpCompressionDynamic -source windowsfeatures
choco install -y IIS-ManagementScriptingTools -source windowsfeatures
choco install -y IIS-WindowsAuthentication -source windowsfeatures
$UNPIN = (
("C:\Program Files\Internet Explorer\","iexplore.exe"),
$null)
foreach ($item in $UNPIN)
{
if ($item){
$shell = new-object -com "Shell.Application"
$folder = $shell.Namespace($item[0])
$item = $folder.Parsename($item[1])
$verb = $item.Verbs() | ? {$_.Name -eq 'Unpin from Tas&kbar'}
if ($verb) {$verb.DoIt()}
}
}
$PIN = (
("C:\Program Files (x86)\Google\Chrome\Application\","chrome.exe"),
("C:\windows\system32\WindowsPowerShell\v1.0\","powershell.exe"),
("C:\Program Files\Sublime Text 3","sublime_text.exe"),
$null)
foreach ($item in $PIN)
{
if ($item){
$shell = new-object -com "Shell.Application"
$folder = $shell.Namespace($item[0])
$item = $folder.Parsename($item[1])
$verb = $item.Verbs() | ? {$_.Name -eq 'Pin to Tas&kbar'}
if ($verb) {$verb.DoIt()}
}
}