Skip to content

Instantly share code, notes, and snippets.

View artdrozdov's full-sized avatar

Artem Drozdov artdrozdov

  • Blackbird Global
  • Ukraine
View GitHub Profile
@artdrozdov
artdrozdov / dev-env-install
Last active August 29, 2015 14:19
DevEnv install using Chocolatey
If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(`
[Security.Principal.WindowsBuiltInRole] "Administrator"))
{
Write-Warning "You do not have Administrator rights to run this script!`nPlease re-run this script as an Administrator!"
Break
}
Write-Host "Hi Art! I will install your working environment."
$answer = Read-Host "Continue? (y/n)"
if($answer -eq "y"){
Write-Host "Processing..."