Skip to content

Instantly share code, notes, and snippets.

View jasamour's full-sized avatar

JASM jasamour

View GitHub Profile
@jasamour
jasamour / win10pro-wsl-webdev.ps1
Last active February 17, 2019 20:05
Win10 Pro WSL WebDev Boxstarter Script
# Description: Windows 10 Pro / WSL Modern Web Development Boxstarter Script
# Author: JASM. Credit goes to many gist.github.com sources especially (jessfraz, NickCraver, and Microsoft)
#
############################
# Instructions
############################
# 1: Install Boxstarter from the web using PowerShell v3 or higher
# . { iwr -useb https://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# 2: Set the PowerShell execution policy to runs scripts that are downloaded from the Internet and not signed
# Boxstarter Script (Windows 10 settings and modern web deployment)
# Credit to github.com/elithrar
# Pre
Disable-UAC
# Set PC name
$computername = "JASM-PC"
if ($env:computername -ne $computername) {
Rename-Computer -NewName $computername