Skip to content

Instantly share code, notes, and snippets.

@JonCubed
Last active January 18, 2017 22:44
Show Gist options
  • Save JonCubed/fbf0ed6a134be9bdbd35f1152c081877 to your computer and use it in GitHub Desktop.
Save JonCubed/fbf0ed6a134be9bdbd35f1152c081877 to your computer and use it in GitHub Desktop.
Sample BoxStarter Script
# START http://boxstarter.org/package/url?https://gist.githubusercontent.com/JonCubed/fbf0ed6a134be9bdbd35f1152c081877/raw/929cbf6c722b64ed242c1b7196baebc7fb1c2ade/gistfile1.txt
$Boxstarter.RebootOk=$true
$Boxstarter.NoPassword=$false
$Boxstarter.AutoLogin=$true
Disable-BingSearch #Disables the Bing Internet Search when searching from the search field in the Taskbar or Start Menu.
Enable-RemoteDesktop #Allows Remote Desktop access to machine and enables Remote Desktop firewall rule.
Move-LibraryDirectory "Personal" "$env:UserProfile\dropbox\documents" #Moves a library to a new directory, if files exist will move them too
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -EnableShowFullPathInTitleBar -DisableShowRecentFilesInQuickAccess -DisableShowFrequentFoldersInQuickAccess -EnableExpandToOpenFolder
Set-TaskbarOptions -Size Large -UnLock -Dock Left -Combine Never
choco feature enable --name=allowGlobalConfirmation
choco install git
choco install slack
choco install nodejs
# pin slack to taskbar...does not currrently work in Win10
Install-ChocolateyPinnedTaskBarItem "$env:LOCALAPPDATA\slack\slack.exe"
# Enable Internet Information Services Feature - will enable a bunch of things by default
choco install IIS-WebServerRole --source windowsfeatures --limitoutput
# Change regional and date settings
&"$env:windir\system32\tzutil.exe" /s "AUS Eastern Standard Time"
Set-ItemProperty -Path "HKCU:\Control Panel\International" -Name sShortDate -Value 'dd MMM yy'
Set-ItemProperty -Path "HKCU:\Control Panel\International" -Name sCountry -Value Australia
Set-ItemProperty -Path "HKCU:\Control Panel\International" -Name sShortTime -Value 'hh:mm tt'
Set-ItemProperty -Path "HKCU:\Control Panel\International" -Name sTimeFormat -Value 'hh:mm:ss tt'
Set-ItemProperty -Path "HKCU:\Control Panel\International" -Name sLanguage -Value ENA
# refresh environment variables
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
# install node libraries
npm install -g jspm
npm install -g generator-aspnet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment