Last active
May 28, 2018 17:39
-
-
Save pedropombeiro/f3f0a8fe8bff68d34345 to your computer and use it in GitHub Desktop.
Pave Surface Pro 3
This file contains 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
# 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 RemoteSigned | |
Set-CornerNavigationOptions -EnableUsePowerShellOnWinX | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -EnableShowFullPathInTitleBar | |
Enable-MicrosoftUpdate | |
Set-WinUserLanguageList -LanguageList en-US | |
### Set time ### | |
Stop-Service w32time | |
w32tm /unregister | |
w32tm /register | |
w32tm /config /update /manualpeerlist:"ntp.pedropombeiro.com" /syncfromflags:MANUAL | |
Start-Service w32time | |
Start-Sleep -s 5 | |
w32tm /resync /rediscover | |
w32tm /query /source /verbose | |
w32tm /query /status /verbose | |
Start-Sleep -s 3 | |
if (Test-PendingReboot) { Invoke-Reboot } | |
# Update Windows and reboot if necessary | |
Install-WindowsUpdate -AcceptEula | |
if (Test-PendingReboot) { Invoke-Reboot } | |
# Install base software | |
cinst -y 7zip.install | |
cinst -y autohotkey.install | |
cinst -y cpu-z | |
cinst -y Firefox | |
cinst -y GoogleChrome | |
cinst -y keepass | |
cinst -y keepass-plugin-keeagent | |
cinst -y keepass-plugin-favicon | |
cinst -y keepass-plugin-keeautoexec | |
cinst -y keepass-plugin-keeotp | |
cinst -y gpg4win | |
cinst -y iperf3 | |
cinst -y mpc-hc | |
cinst -y naps2 | |
cinst -y notepadplusplus.install | |
cinst -y visualstudiocode | |
cinst -y paint.net | |
cinst -y kitty | |
cinst -y pushbullet | |
cinst -y rufus | |
cinst -y wget | |
#cinst -y spotify | |
cinst -y sdformatter | |
cinst -y win32diskimager.install | |
cinst -y winscp.install | |
# Macrium Reflect | |
cinst reflect-free | |
cinst prey | |
cinst Devbox-RapidEE | |
cinst Everything | |
# Requires restart | |
cinst openvpn | |
cinst youtube-dl | |
if (Test-PendingReboot) { Invoke-Reboot } | |
# install development tools | |
# Install Visual Studio 2013 Ultimate | |
#cinst -y VisualStudio2013Ultimate -InstallArguments WebTools | |
#if (Test-PendingReboot) { Invoke-Reboot } | |
# Install Visual Studio 2015 Enterprise | |
#cinst -y VisualStudio2015Enterprise -InstallArguments WebTools | |
#if (Test-PendingReboot) { Invoke-Reboot } | |
#cinst -y PowerGUI | |
Write-Output Installing Error Lookup command-line tool... | |
cinst -y err | |
Write-Output Installing Git... | |
#cinst -y git -params '"/GitAndUnixToolsOnPath"' | |
Write-Output Installing Git Extensions... | |
#cinst gitextensions | |
#$env:GIT_SSH = "($Boxstarter.programFiles86)\GitExtensions\PuTTY\plink.exe" | |
$env:GIT_SSH = "$env:ChocolateyInstall\bin\plink.exe" | |
Write-Output Installing SysInternals... | |
cinst sysinternals | |
cinst windbg | |
cinst dependencywalker | |
#cinst GitDiffMargin | |
cinst linqpad4 | |
cinst beyondcompare | |
cinst NugetPackageExplorer | |
cinst P4Merge | |
#cinst snoop | |
#cinst kaxaml | |
cinst PngGauntlet | |
cinst fiddler4 | |
cinst curl | |
cinst mediainfo # Plex | |
cinst slack | |
cinst sharex | |
cinst GitVersion.Portable # Plex | |
cinst rescuetime # Plex | |
cinst velocity | |
#cinst -y resharper | |
#cinst -y dotPeek | |
#Install-ChocolateyVsixPackage StopOnFirstBuildError http://visualstudiogallery.msdn.microsoft.com/91aaa139-5d3c-43a7-b39f-369196a84fa5/file/44205/3/StopOnFirstBuildError.vsix | |
#Install-ChocolateyVsixPackage RoamingExtensionManager https://visualstudiogallery.msdn.microsoft.com/7b421a95-c32c-4433-a2be-a41b276013ab/file/172117/1/RoamingExtensionManager.vsix | |
#Install-ChocolateyVsixPackage EmojiVS https://visualstudiogallery.msdn.microsoft.com/88575465-8486-4c5a-8406-05e8d1d5b09d/file/172624/1/EmojiVS.vsix | |
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Google\Chrome\Application\chrome.exe" | |
#Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe" | |
#Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux | |
Enable-UAC | |
if (Test-PendingReboot) { Invoke-Reboot } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment