Last active
April 19, 2021 20:36
-
-
Save NickPl/a3ee58f9b3f989ab1287 to your computer and use it in GitHub Desktop.
BoxStarter DevEnv Beta
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
Update-ExecutionPolicy Unrestricted | |
#iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/NickPl/boxstarter/master/BuildScripts/bootstrapper.ps1')) | |
#Get-Boxstarter -Force | |
# Install Chocolatey | |
Set-ExecutionPolicy Bypass -Scope Process -Force; | |
`iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
cinst pwsh -y | |
cinst git -y | |
cinst poshgit -y | |
Add-PoshGitToProfil | |
# Install PSGet | |
Execute "(new-object Net.WebClient).DownloadString('http://psget.net/GetPsGet.ps1') | iex" | |
# Base Windows Settings | |
Enable-RemoteDesktop | |
Disable-InternetExplorerESC #Turns off IE Enhanced Security Configuration that is on by default on Server OS versions | |
Install-WindowsUpdate -AcceptEula | |
Set-ExplorerOptions -EnableShowFileExtensions -EnableShowFullPathInTitleBar -EnableShowHiddenFilesFoldersDrives | |
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableSearchEverywhereInAppsView -EnableListDesktopAppsFirst | |
# Add features | |
cinst IIS-WebServerRole -source windowsfeatures | |
cinst IIS-HttpCompressionDynamic -source windowsfeatures | |
cinst IIS-ManagementScriptingTools -source windowsfeatures | |
cinst IIS-WindowsAuthentication -source windowsfeatures | |
cinst Microsoft-Hyper-V-All -source windowsfeatures | |
# Frameworks | |
cinst PowerShell -y | |
cinst DotNet4.0 -y | |
cinst DotNet4.5 -y | |
# Tools | |
cinst 7zip -y | |
cinst fiddler4 -y | |
cinst windir -y | |
cinst notepadplusplus -y | |
choco install vscode | |
cinst visualstudio2019professional -y | |
#Move-LibraryDirectory "My Pictures" "D:\Pictures" | |
#Move-LibraryDirectory "My Video" "D:\Videos" | |
#Move-LibraryDirectory "My Music" "D:\Music" | |
#Move-LibraryDirectory "Downloads" "D:\Downloads" | |
#Move-LibraryDirectory "Personal" "D:\Documents" | |
#Move-LibraryDirectory "Desktop" "D:\Desktop" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment