From edeb59937c80b8327fc995c6ea96ccbff334e458 Mon Sep 17 00:00:00 2001 From: Yosef Durr Date: Fri, 2 Nov 2018 09:19:17 -0700 Subject: [PATCH] prep for upcoming web dev conference --- demos/webdevmachine.ps1 | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/demos/webdevmachine.ps1 b/demos/webdevmachine.ps1 index 534b60d..21410e8 100644 --- a/demos/webdevmachine.ps1 +++ b/demos/webdevmachine.ps1 @@ -26,7 +26,6 @@ function executeScript { #--- Setting up Windows --- executeScript "FileExplorerSettings.ps1"; executeScript "SystemConfiguration.ps1"; -executeScript "RemoveDefaultApps.ps1"; executeScript "CommonDevTools.ps1"; executeScript "Browsers.ps1"; @@ -52,28 +51,16 @@ write-host "Installing tools inside the WSL distro..." Ubuntu1804 run apt install ansible -y ## Install NodeJS -Ubuntu1804 run curl -sL https://deb.nodesource.com/setup_8.x | bash - +# Ubuntu1804 run curl -sL https://deb.nodesource.com/setup_8.x | bash - Ubuntu1804 run apt-get install -y nodejs -# checkout recent projects +## Get a NodeJS Demo mkdir C:\github cd C:\github -git.exe clone https://github.com/microsoft/windows-dev-box-setup-scripts -git.exe clone https://github.com/microsoft/winappdriver -git.exe clone https://github.com/microsoft/wsl -git.exe clone https://github.com/PowerShell/PowerShell - -## Get a NodeJS Demo git.exe clone https://github.com/gtsopour/nodejs-shopping-cart.git cd C:\github\nodejs-shopping-cart npm install -# set desktop wallpaper -Invoke-WebRequest -Uri 'http://chocolateyfest.com/wp-content/uploads/2018/05/img-bg-front-page-header-NO_logo-opt.jpg' -Method Get -ContentType image/jpeg -OutFile 'C:\github\chocofest.jpg' -Set-ItemProperty -path 'HKCU:\Control Panel\Desktop\' -name wallpaper -value 'C:\github\chocofest.jpg' -rundll32.exe user32.dll, UpdatePerUserSystemParameters -RefreshEnv - Enable-UAC Enable-MicrosoftUpdate Install-WindowsUpdate -acceptEula