Created
September 26, 2018 04:26
-
-
Save harishrathi/b50c489ff508b6cba9aaa42597d31e33 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$dirName=[System.IO.Path]::GetDirectoryName($profile) | |
if(!(Test-Path $dirName)) | |
{ | |
Write-Host "creating profile directory: $dirName" | |
New-Item -ItemType directory -Path $dirName | |
} | |
if (!(Test-Path $profile)) | |
{ | |
Write-Host "creating profile file: $profile" | |
New-Item -ItemType directory -Path $profile | |
} | |
Write-Host "install chocolatey" | |
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
Write-Host "enabling global confirmation" | |
choco feature enable -n allowGlobalConfirmation | |
choco install conemu | |
choco install notepadplusplus |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment