This PR gets Master up to date with the common scripts approach. These are not done but this seems far enough along to proceed. We'll now move forward with refining these common scripts along with the dev scenario scripts that reference them.
31 lines
942 B
PowerShell
31 lines
942 B
PowerShell
# Description: Boxstarter Script
|
|
# Author: Microsoft
|
|
# Common dev settings for machine learning
|
|
|
|
Disable-UAC
|
|
|
|
# see if we can't get calling URL somehow, that would eliminate this need
|
|
# should move to a config file
|
|
$user = "Microsoft";
|
|
$baseBranch = "BreakUpScripts";
|
|
$finalBaseHelperUri = "https://raw.githubusercontent.com/$user/windows-dev-box-setup-scripts/$baseBranch/scripts";
|
|
|
|
function executeScript {
|
|
Param ([string]$script)
|
|
write-host "executing $finalBaseHelperUri/$script ..."
|
|
iex ((new-object net.webclient).DownloadString("$finalBaseHelperUri/$script"))
|
|
}
|
|
|
|
#--- Setting up Windows ---
|
|
executeScript "SystemConfiguration.ps1";
|
|
executeScript "FileExplorerSettings.ps1";
|
|
executeScript "RemoveDefaultApps.ps1";
|
|
executeScript "CommonDevTools.ps1";
|
|
executeScript "VirtualizationTools.ps1";
|
|
|
|
# TODO: install additional ML tools
|
|
|
|
Enable-UAC
|
|
Enable-MicrosoftUpdate
|
|
Install-WindowsUpdate -acceptEula
|