Skip to content

Commit 0316142

Browse files
committed
trying out wsl and hyper-v install with direct call to system
1 parent e989891 commit 0316142

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

dev_app.ps1

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@
44

55
Disable-UAC
66

7-
#--- Windows Subsystems/Features ---
8-
#choco install -y Microsoft-Windows-Subsystem-Linux -source windowsfeatures
9-
#choco install -y Microsoft-Hyper-V-All -source windowsFeatures
10-
# Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
11-
# Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V
12-
#choco install -y sysinternals
13-
#choco install -y docker-for-windows
14-
157
# see if we can't get calling URL somehow, that would eliminate this need
168
# should move to a config file
179
$user = "Microsoft";
@@ -22,6 +14,15 @@ $finalBaseHelperUri = "https://raw.githubusercontent.com/$user/windows-dev-box-s
2214
executeScript("FileExplorerSettings.ps1");
2315
executeScript("RemoveDefaultApps.ps1");
2416

17+
#--- Windows Subsystems/Features ---
18+
#choco install -y Microsoft-Windows-Subsystem-Linux -source windowsfeatures
19+
#choco install -y Microsoft-Hyper-V-All -source windowsFeatures
20+
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
21+
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V
22+
#choco install -y sysinternals
23+
#choco install -y docker-for-windows
24+
RefreshEnv
25+
2526
#--- Tools ---
2627
#--- VS 2017 uwp and azure workloads + git tools ---
2728
# See this for install args: https://chocolatey.org/packages/VisualStudio2017Community

0 commit comments

Comments
 (0)