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
# Description: Boxstarter Script | |
# Author: Jess Frazelle <[email protected]> | |
# Last Updated: 2017-09-11 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |
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
# Boxstart a new internal server by copy-pasting the following in CMD (Admin): | |
# START http://boxstarter.org/package/nr/url?[the_raw_url_to_this_file] | |
# Windows Features | |
Enable-RemoteDesktop | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
# Apps | |
choco install googlechrome |
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
<# | |
The command to run, built from the raw link of this gist | |
Win+R | |
iexplore http://boxstarter.org/package/url?<RAW GIST LINK> | |
OR (if you don't like the way the web launcher force re-installs everything) |
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
#to install chocolatey, powershell 4 & boxstarter then run this script: | |
#iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) | |
#choco install powershell | |
#(restart computer) | |
#choco install boxstarter | |
#(restart computer) | |
#start http://boxstarter.org/package/url? | |
#above line plus raw url: e.g. https://gist.githubusercontent.com/JohnLBevan/d30c641a17d5fae548a0/raw/4c3737001f3afece1d29162f7004d665ecea667d/TestServerStandardBuild.ps1 | |
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
try { | |
# Boxstarter options | |
$Boxstarter.RebootOk=$true | |
$Boxstarter.NoPassword=$false # Is this a machine with no logon password? | |
$Boxstarter.AutoLogin=$true | |
Write-BoxstarterMessage "Ensuring ExecutionPolicy to Unrestricted..." | |
Update-ExecutionPolicy Unrestricted | |
## Write-BoxstarterMessage "Ensuring UAC is disabled..." |