Created
July 1, 2020 16:35
-
-
Save signalwarrant/00da2e90cd1a0f694200e28e5db7592d 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
| # 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