Skip to content

Instantly share code, notes, and snippets.

# Boxstarter script for blog post http://blog.zerosharp.com/provisioning-a-new-development-machine-with-boxstarter
# Allow reboots
$Boxstarter.RebootOk=$true
$Boxstarter.NoPassword=$false
$Boxstarter.AutoLogin=$true
# Basic setup
Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
@sundmoon
sundmoon / bootstrapwindows10.ps1
Created February 18, 2020 16:14 — forked from zloeber/bootstrapwindows10.ps1
Boxstarter Windows 10 Configuration
<#
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)
@sundmoon
sundmoon / boxstarter.ps1
Created February 18, 2020 16:00 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# 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:
@sundmoon
sundmoon / .build.ps1
Last active November 8, 2017 20:23
Example Lability tasks using Invoke-Build: please pay attention to the monolithic resposibilities of the only published Start-LabConfiguration cmdlet
param (
[ValidateNotNull()]
$ConfigData = '.\NanoExample.psd1',
[ValidateNotNull()]
$Configuration = 'NanoExample'
)
Configuration BasicClient {...}
```powershell
# Source path for Windows ISO files
$ISOPath = 'F:\__WINDISTR'
$MountFolder = 'F:\Mount'
if (!(Test-Path -Path $ISOPath))
{
Write-Warning -Message "Could not find ISO store at $ISOPath. Aborting..."
Break