forked from Gaweph/Boxstarter-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Developer-Machine.ps1
76 lines (63 loc) · 2.47 KB
/
Developer-Machine.ps1
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
# 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
Enable-RemoteDesktop
Disable-InternetExplorerESC
#Disable-UAC
#Set-TaskbarSmall
# disable defrag because I have an SSD
Get-ScheduledTask -TaskName *defrag* | Disable-ScheduledTask
# Install Visual Studio 2015
# cinst visualstudio2015enterprise -- 2017 is now available!
if (Test-PendingReboot) { Invoke-Reboot }
#Other dev tools
cinst visualstudiocode -y
cinst nodejs.install -y
#choco install unity -y
#Browsers
cinst googlechrome -y
cinst firefox -y
#Other tools
cinst notepadplusplus -y
cinst 7zip.install -y
cinst adobereader -y
# cinst skype -y
# cinst dropbox -y
# cinst virtualbox -y
choco install jdk8 -y
cinst putty.install -y
# cinst spotify -y
cinst vlc -y
choco install git.install
choco install rdcman
# VS extensions -- These do not seem to work
#Install-ChocolateyVsixPackage ProPowerTools https://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef/file/29666/12/ProPowerTools.vsix
#Install-ChocolateyVsixPackage vstu2015 https://visualstudiogallery.msdn.microsoft.com/8d26236e-4a64-4d64-8486-7df95156aba9/file/142077/10/vstu2015.msi
# Node modules (Global)
#npm install --global --production windows-build-tools #Caused Reboot loop
#npm install -g node-gyp #Potentially Causes Reboot loop
npm install -g gulp
npm install -g bower
npm install -g typings
# npm install -g hexo-cli
npm install -g @angular/cli
npm install -g typescript
npm install -g npm-check
npm install simplehttpserver -g
# Misc
choco install windows-sdk-8.1
#if (Test-PendingReboot) { Invoke-Reboot }
#cinst Microsoft-Hyper-V-All -source windowsFeatures
cinst IIS-WebServerRole -source windowsfeatures
cinst IIS-HttpCompressionDynamic -source windowsfeatures
cinst IIS-ManagementScriptingTools -source windowsfeatures
cinst IIS-WindowsAuthentication -source windowsfeatures
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Google\Chrome\Application\chrome.exe"
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe"
# Update Windows and reboot if necessary
Install-WindowsUpdate -AcceptEula -GetUpdatesFromMS
#if (Test-PendingReboot) { Invoke-Reboot }