A script for setting up PCs using Boxstarter (a layer to automate the use of Boxstarter).
This script is heavily based (not to say that it's a fork) on the one by JonCubed which itself is based on a gist and neutmute script's.
There are a few options for launching a Boxstarter script check out the offical documentation for all the various methods.
The Bootstrapper method is the recommended way to run this script. Simply open a elevated powershell console and run the following command:
> wget -Uri 'https://raw.githubusercontent.com/rasmuskriest/Boxstart-Windows/master/Bootstrap-Boxstarter.ps1' -OutFile "$($env:temp)\Bootstrap-Boxstarter.ps1";&Invoke-Command -ScriptBlock { &"$($env:temp)\Bootstrap-Boxstarter.ps1" <arguments> }You may remove <arguments> or replace it with one or more argument lists below
| Argument | Type | Value Description |
|---|---|---|
| InstallSurface | Switch | Configures machine to be a portable computer (aka my Surface). |
| InstallDesktop | Switch | Configures machine to be a workhorse for home and work use (aka my Desktop). |
| SkipWindowsUpdate | Switch | Skips Windows Update. |
| DataDrive | Char | Drive to move libraries and other data to. Defaults to system drive. |
- Set up Surface:
> wget -Uri 'https://raw.githubusercontent.com/rasmuskriest/Boxstart-Windows/master/Bootstrap-Boxstarter.ps1' -OutFile "$($env:temp)\Bootstrap-Boxstarter.ps1";&Invoke-Command -ScriptBlock { &"$($env:temp)\Bootstrap-Boxstarter.ps1" -InstallSurface -SkipWindowsUpdate }- Set up Desktop with data drive specified:
> wget -Uri 'https://raw.githubusercontent.com/rasmuskriest/Boxstart-Windows/master/Bootstrap-Boxstarter.ps1' -OutFile "$($env:temp)\Bootstrap-Boxstarter.ps1";&Invoke-Command -ScriptBlock { &"$($env:temp)\Bootstrap-Boxstarter.ps1" -InstallDesktop -DataDrive 'D' }If you want more control over what is happening you can manually run the script.
-
You must first setup environment keys for the features you would like to install.
Argument Value Value Description BoxStarter:InstallSurface 1 Configures machine to be a portable computer (aka my Surface). BoxStarter:InstallDesktop 1 Configures machine to be a workhorse for home and work use (aka my Desktop). BoxStarter:SkipWindowsUpdate 1 Skips Windows Update. BoxStarter:DataDrive Char Drive to move libraries and other data to. Defaults to system drive. Environment variables must be added to Machine and Process scopes.
-
Run the following command
- In Command Prompt:
> START http://boxstarter.org/package/nr/url?http://boxstarter.org/package/nr/url?https://raw.githubusercontent.com/rasmuskriest/Boxstart-Windows/master/Deploy-Machines.ps1
-
In Edge Or Internet Explorer, go to:
http://boxstarter.org/package/nr/url?http://boxstarter.org/package/nr/url?https://raw.githubusercontent.com/rasmuskriest/Boxstart-Windows/master/Deploy-Machines.ps1