Skip to content

Instantly share code, notes, and snippets.

View AndriyShepitsen's full-sized avatar

Andriy Shepitsen AndriyShepitsen

View GitHub Profile
@AndriyShepitsen
AndriyShepitsen / lana3.ps1
Last active February 28, 2021 03:24 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <[email protected]>
# 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:
# Boxstart a new internal server by copy-pasting the following in CMD (Admin):
# START http://boxstarter.org/package/nr/url?[the_raw_url_to_this_file]
# Windows Features
Enable-RemoteDesktop
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
# Apps
choco install googlechrome
@AndriyShepitsen
AndriyShepitsen / lana3.ps1
Last active February 28, 2021 01:38 — 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)
@AndriyShepitsen
AndriyShepitsen / TestServerStandardBuild.ps1
Created February 27, 2021 21:06 — forked from JohnLBevan/TestServerStandardBuild.ps1
Standard build script for an app services test server; ensures the required debugging toolset's available.
#to install chocolatey, powershell 4 & boxstarter then run this script:
#iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
#choco install powershell
#(restart computer)
#choco install boxstarter
#(restart computer)
#start http://boxstarter.org/package/url?
#above line plus raw url: e.g. https://gist.githubusercontent.com/JohnLBevan/d30c641a17d5fae548a0/raw/4c3737001f3afece1d29162f7004d665ecea667d/TestServerStandardBuild.ps1
try {
# Boxstarter options
$Boxstarter.RebootOk=$true
$Boxstarter.NoPassword=$false # Is this a machine with no logon password?
$Boxstarter.AutoLogin=$true
Write-BoxstarterMessage "Ensuring ExecutionPolicy to Unrestricted..."
Update-ExecutionPolicy Unrestricted
## Write-BoxstarterMessage "Ensuring UAC is disabled..."