Skip to content
This repository was archived by the owner on Aug 10, 2025. It is now read-only.

rasmuskriest/Boxstart-Windows

Repository files navigation

Boxstart-Windows

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.

How To Use

There are a few options for launching a Boxstarter script check out the offical documentation for all the various methods.

Bootstrapper

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.

Examples

  1. 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 }
  1. 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' }

Manual

If you want more control over what is happening you can manually run the script.

  1. 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.

  2. 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •