Chocolatey machine setup

https://gist.github.com/chrismckelt/3884f94078a7bd3a773b   #Administrator privileges check If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(` [Security.Principal.WindowsBuiltInRole] “Administrator“)) { Write–Warning “You do not have Administrator rights!`nPlease run the build shell as administrator!“ exit } $scriptPath = $MyInvocation.MyCommand.Path $scriptDirectory = Split–Path $scriptPath $customDir […]