Skip to content

Instantly share code, notes, and snippets.

@andrewbbrown
Last active January 15, 2018 08:59
Show Gist options
  • Save andrewbbrown/a36971f46ac0b8a768afeec84cd0d674 to your computer and use it in GitHub Desktop.
Save andrewbbrown/a36971f46ac0b8a768afeec84cd0d674 to your computer and use it in GitHub Desktop.
Creating a Developer Workstation
Update-ExecutionPolicy Unrestricted
Disable-UAC
#########################
#### requires reboot ####
#########################
CINST dotnet3.5
CINST dotnet4.7
CINST powershell
#######################
#### general utils ####
#######################
cinst chocolatey-core.extension
cinst 7zip.install
cinst googlechrome
cinst firefox
cinst flashplayerplugin
cinst notepadplusplus.install
cinst filezilla
cinst sysinternals
cinst visualstudiocode
cinst windirstat
#cinst citrix-receiver
cinst github
cinst poshgit
cinst putty.install -y
cinst vmwarevsphereclient -y
cinst vmware-tools -y
#################################
#### NOW get windows updates ####
#################################
Enable-MicrosoftUpdate
Install-WindowsUpdate -AcceptEula
#################
#### cleanup ####
#################
del C:\eula*.txt
del C:\install.*
del C:\vcredist.*
del C:\vc_red.*
###############################
#### windows configuration ####
###############################
### do this here so that it only happens once (shouldn't reboot any more at this point)
Enable-RemoteDesktop
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
#Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen
#for Server operating systems...
Disable-InternetExplorerESC
Set-TaskbarOptions -Size Small
#Fix Timezone
TZUTIL /s "Central Standard Time"
################################
#### restore disabled stuff ####
################################
Enable-UAC
Update-ExecutionPolicy Unrestricted
Disable-UAC
#########################
#### requires reboot ####
#########################
CINST dotnet3.5
CINST dotnet4.7
CINST powershell
#######################
#### general utils ####
#######################
cinst chocolatey-core.extension
cinst 7zip.install
cinst googlechrome
cinst firefox
cinst flashplayerplugin
cinst notepadplusplus.install
cinst filezilla
cinst sysinternals
cinst visualstudiocode
cinst windirstat
#cinst citrix-receiver
cinst github
cinst poshgit
cinst putty.install -y
cinst vmwarevsphereclient -y
cinst vmware-tools -y
#################################
#### NOW get windows updates ####
#################################
Enable-MicrosoftUpdate
Install-WindowsUpdate -AcceptEula
#################
#### cleanup ####
#################
del C:\eula*.txt
del C:\install.*
del C:\vcredist.*
del C:\vc_red.*
###############################
#### windows configuration ####
###############################
### do this here so that it only happens once (shouldn't reboot any more at this point)
Enable-RemoteDesktop
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
#Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen
#for Server operating systems...
Disable-InternetExplorerESC
Set-TaskbarOptions -Size Small
#Fix Timezone
TZUTIL /s "Central Standard Time"
################################
#### restore disabled stuff ####
################################
Enable-UAC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment