Skip to content

Instantly share code, notes, and snippets.

@dansmith65
Last active November 25, 2019 23:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dansmith65/010e9ae85a09ce9855206b7558a67b37 to your computer and use it in GitHub Desktop.
Save dansmith65/010e9ae85a09ce9855206b7558a67b37 to your computer and use it in GitHub Desktop.
Windows Server Setup; perform common tasks on a fresh server
# Install Google Chrome (code downloaded from another Gist)
Invoke-Expression ((Invoke-WebRequest "https://gist.githubusercontent.com/dansmith65/4c012304ed96596dbbcad8e4a15f7583/raw/Install-GoogleChrome.ps1").Content)
# Install Nodepad++ (code downloaded from another Gist)
Invoke-Expression ((Invoke-WebRequest "https://gist.githubusercontent.com/dansmith65/a862f301fce553b26db9689ad0f87b6a/raw/Install-NotepadPlusPlus.ps1").Content)
# Install 7-zip (code downloaded from another Gist)
Invoke-Expression ((Invoke-WebRequest "https://gist.githubusercontent.com/dansmith65/7dd950f183af5f5deaf9650f2ad3226c/raw/Install-7zip.ps1").Content)
# Install AWS CLI (code downloaded from another Gist)
Invoke-Expression ((Invoke-WebRequest "https://gist.githubusercontent.com/dansmith65/79275f15fe25550e65ccd4d6bf1448cf/raw/Install-AWSCLI.ps1").Content)
# Set Timezone
Set-TimeZone -Name "Pacific Standard Time"
@dansmith65
Copy link
Author

dansmith65 commented Oct 25, 2018

Paste this one line into PowerShell to download the script from github and run it:

Invoke-Expression ((Invoke-WebRequest "https://gist.githubusercontent.com/dansmith65/010e9ae85a09ce9855206b7558a67b37/raw/WindowsServerSetup.ps1").Content)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment