Skip to content

Instantly share code, notes, and snippets.

@mwrock
Created March 10, 2013 22:50
Show Gist options
  • Save mwrock/5130865 to your computer and use it in GitHub Desktop.
Save mwrock/5130865 to your computer and use it in GitHub Desktop.
Boxstarter Example
#Get Boxstarter on RemotePC
CINST Boxstarter.Chocolatey
Import-Module Boxstarter.Chocolatey
#Create minimal nuspec and chocolateyInstall
New-BoxstarterPackage MyPackage
#Edit Install script
Notepad Join-Path $Boxstarter.LocalRepo "tools\ChocolateyInstall.ps1"
#Pack nupkg
Invoke-BoxstarterBuild MyPackage
#share Repo
Set-BoxstarterShare
#on new bare os
\\RemotePC\Boxstarter\Boxstarter Mypackage
#Enter password when prompted and come back later to new box
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment