Skip to content

Commit

Permalink
Create c:\code and c:\temp working folders
Browse files Browse the repository at this point in the history
  • Loading branch information
tathamoddie committed Nov 20, 2017
1 parent 1b411d7 commit b9045dc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions New-Machine.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 97,16 @@ if ((Get-ItemProperty HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\A
Get-Process explorer | Stop-Process
}

Write-Progress "Making c:\code"
if (-not (Test-Path c:\code)) {
New-Item c:\code -ItemType Directory
}

Write-Progress "Making c:\temp"
if (-not (Test-Path c:\temp)) {
New-Item c:\temp -ItemType Directory
}

Write-Progress "Enabling Windows Subsystem for Linux"
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Expand Down

0 comments on commit b9045dc

Please sign in to comment.