Install Ubuntu 18 and improve ML recipe setup (#66)
* move to Ubuntu 18 * created two ML recipes * using update-sessionenvironmnet instead of refreshenv * discover helper script URI rather than hardcode it * fixing readme links to support reboot
This commit is contained in:
6
scripts/GetMLPythonSamplesOffGithub.ps1
Normal file
6
scripts/GetMLPythonSamplesOffGithub.ps1
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
write-host "Downloading Python ML samples to your desktop ..."
|
||||
|
||||
Update-SessionEnvironment
|
||||
cd $env:USERPROFILE\desktop
|
||||
git clone https://github.com/Microsoft/Dev-Advocacy-Samples/tree/master/python-mlclassification
|
||||
@@ -1,4 +1,4 @@
|
||||
RefreshEnv
|
||||
Update-SessionEnvironment
|
||||
cd $env:USERPROFILE\desktop
|
||||
mkdir UwpSamples
|
||||
cd UwpSamples
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#--- Uninstall unecessary applications that come with Windows out of the box ---
|
||||
Write-Host "Uninstall unecessary applications that come with Windows out of the box" -ForegroundColor "Yellow"
|
||||
Write-Host "Uninstall some applications that come with Windows out of the box" -ForegroundColor "Yellow"
|
||||
|
||||
#Referenced to build script
|
||||
# https://docs.microsoft.com/en-us/windows/application-management/remove-provisioned-apps-during-update
|
||||
@@ -32,7 +32,6 @@ $applicationList = @(
|
||||
"Microsoft.MicrosoftOfficeHub"
|
||||
"Microsoft.OneConnect"
|
||||
"Microsoft.WindowsPhone"
|
||||
"Microsoft.SkypeApp"
|
||||
"Microsoft.WindowsSoundRecorder"
|
||||
"*Solitaire*"
|
||||
"Microsoft.MicrosoftStickyNotes"
|
||||
@@ -44,13 +43,10 @@ $applicationList = @(
|
||||
"Microsoft.NetworkSpeedTest"
|
||||
"Microsoft.FreshPaint"
|
||||
"Microsoft.Print3D"
|
||||
|
||||
#Non-Microsoft
|
||||
"*Autodesk*"
|
||||
"*BubbleWitch*"
|
||||
"king.com.CandyCrush*"
|
||||
"*Dell*"
|
||||
"*Dropbox*"
|
||||
"*Facebook*"
|
||||
"*Keeper*"
|
||||
"*Netflix*"
|
||||
|
||||
@@ -8,9 +8,11 @@ choco install -y vscode-docker
|
||||
|
||||
|
||||
#--- Ubuntu ---
|
||||
Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile ~/Ubuntu.appx -UseBasicParsing
|
||||
Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1804 -OutFile ~/Ubuntu.appx -UseBasicParsing
|
||||
Add-AppxPackage -Path ~/Ubuntu.appx
|
||||
|
||||
# TODO reboot here
|
||||
|
||||
<#
|
||||
#--- SLES ---
|
||||
# Install SLES Store app
|
||||
|
||||
Reference in New Issue
Block a user