Skip to content

Instantly share code, notes, and snippets.

@j-i-m-s-t-e-r
j-i-m-s-t-e-r / Install-Erlang.ps1
Created September 18, 2019 13:13 — forked from chgeuer/Install-Erlang.ps1
Install Erlang via command line
View Install-Erlang.ps1
#
# Check if Erlang is installed
#
$erlangkey = Get-ChildItem HKLM:\SOFTWARE\Wow6432Node\Ericsson\Erlang -ErrorAction SilentlyContinue
if ( $erlangkey -eq $null ) {
Write-Host "Erlang not found, need to install it"
Start-Process -Wait otp_win64_R16B03.exe /S
}
#