Created
March 4, 2018 18:53
-
-
Save praveenc/05447237a73734b49ea7dc219b01b4a0 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
| # Provisioning script for dofsec elevate app VM | |
| # Create drop folders for elevate app | |
| if(-not (Test-Path "c:\dofsec")) | |
| { | |
| mkdir "c:\dofsec" | Out-Null | |
| } | |
| # Set timezone to Eastern Standard Time | |
| Invoke-Expression "& c:\windows\system32\tzutil.exe /s ""Eastern Standard Time""" | |
| # Install chocolatey | |
| # Don't forget to ensure ExecutionPolicy is set to bypass | |
| Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
| # refresh env | |
| refreshenv | |
| # Install latest powershell, dotnet4.6.2 and other utilities | |
| choco install git.install -y | |
| choco install 7zip -y | |
| choco install sublimetext3 -y | |
| choco install baretail -y | |
| choco install firefox -y | |
| choco install nodejs-lts -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment