Skip to content

Instantly share code, notes, and snippets.

@signalwarrant
Created July 1, 2020 16:35
Show Gist options
  • Select an option

  • Save signalwarrant/00da2e90cd1a0f694200e28e5db7592d to your computer and use it in GitHub Desktop.

Select an option

Save signalwarrant/00da2e90cd1a0f694200e28e5db7592d to your computer and use it in GitHub Desktop.
# Install Chocolatey
Invoke-Command -ComputerName DC -ScriptBlock {
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco feature enable -y allowGlobalConfirmation
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment