Skip to content

Instantly share code, notes, and snippets.

@kylefender
Last active January 25, 2023 21:08
Show Gist options
  • Select an option

  • Save kylefender/a80ef22675f35111124f6217bfab8f19 to your computer and use it in GitHub Desktop.

Select an option

Save kylefender/a80ef22675f35111124f6217bfab8f19 to your computer and use it in GitHub Desktop.

Revisions

  1. kylefender revised this gist Jan 25, 2023. 1 changed file with 85 additions and 45 deletions.
    130 changes: 85 additions & 45 deletions DevBoxstarter
    Original file line number Diff line number Diff line change
    @@ -1,60 +1,100 @@
    #RUN the following to kick off script-> START http://boxstarter.org/package/nr/url?<raw link ie. https://gist.github.com/kylefender/a80ef22675f35111124f6217bfab8f19/raw/eaaa85e17b463bafb8f464d7606bd4df5d3fb732/DevBoxstarter>
    # Run the rest in the boxstarter shell
    Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
    Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Confirm

    # Boxstarter options
    $Boxstarter.RebootOk=$true # Allow reboots?
    $Boxstarter.NoPassword=$false # Is this a machine with no login password?
    $Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
    # From https://gist.github.com/flcdrg/87802af4c92527eb8a30
    # This will install NuGet module if missing
    Get-PackageProvider -Name NuGet -ForceBootstrap

    Disable-UAC
    Disable-BingSearch
    Disable-GameBarTips
    # PowerShellGet. Do this early as reboots are required
    if (-not (Get-InstalledModule -Name PowerShellGet -ErrorAction SilentlyContinue)) {
    Write-Host "Install-Module PowerShellGet"
    Install-Module -Name "PowerShellGet" -AllowClobber -Force -Scope AllUsers

    choco install chocolatey -y
    choco install boxstarter -y
    choco install boxstarter.winconfig -y
    # Exit equivalent
    Invoke-Reboot
    }

    #### .NET 3.5 ####
    choco install dotnet3.5 -y # Not automatically installed. Includes .NET 2.0. Uses Windows Features to install.
    if (Test-PendingReboot) { Invoke-Reboot }
    # Write-Host "Set-PSRepository"
    Set-PSRepository -Name PSGallery -InstallationPolicy Trusted

    #run the rest in the boxstarter shell
    Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
    Enable-RemoteDesktop
    # Windows features
    choco install TelnetClient -source windowsfeatures
    choco install NetFx3 -source windowsfeatures
    choco install Microsoft-Hyper-V-All -source windowsfeatures
    choco install IIS-WebServerRole IIS-NetFxExtensibility45 IIS-HttpCompressionDynamic IIS-WindowsAuthentication IIS-ASPNET45 IIS-IIS6ManagementCompatibility -source windowsfeatures
    choco install Containers -source windowsfeatures

    #Environment
    choco install Microsoft-Hyper-V-All -y -source windowsFeatures
    choco install IIS-WebServerRole -y -source windowsfeatures
    choco install Microsoft-Windows-Subsystem-Linux -source windowsfeatures
    # Remove unwanted Store apps
    Get-AppxPackage Facebook.Facebook | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage TuneIn.TuneInRadio | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage Microsoft.MinecraftUWP | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage Microsoft.MicrosoftSolitaireCollection | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage KeeperSecurityInc.Keeper | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage 2FE3CB00.PicsArt-PhotoStudio | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage 9E2F88E3.Twitter | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -AllUser -Name *Twitter | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -AllUser -Name *MarchofEmpires | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -AllUser -Name king.com.* | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -AllUser -Name Microsoft.3DBuilder | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -AllUser -Name *Bing* | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -AllUser -Name DellInc.PartnerPromo | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -AllUser -Name Microsoft.MicrosoftSolitaireCollection | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -AllUser -Name Microsoft.SkypeApp | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -AllUser -Name Microsoft.YourPhone | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -AllUser -Name *XBox* | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -AllUser -Name Microsoft.MixedReality.Portal | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -AllUser -Name Microsoft.Microsoft3DViewer | Remove-AppxPackage -ErrorAction SilentlyContinue

    #Browser stuff
    choco install google-chrome -y
    Write-Host "Temp: $($env:temp)"

    #Utilities
    choco install adobereader -y
    choco install clover -y
    choco install notepadplusplus -y
    choco install visualstudiocode -y
    choco install visualstudio2017enterprise -y
    choco install paint.net -y
    choco install 7zip.install -y
    choco install fiddler4 -y
    choco install vlc -y
    # Browsers
    choco install firefox -y
    choco pin add -n=firefox
    choco install GoogleChrome -y
    choco pin add -n=googlechrome

    # Other Tools
    choco install 7zip -y
    choco install azure-cli -y
    choco install docker-for-windows -y
    choco pin add -n=docker-for-windows
    choco install files -y
    choco install git -y
    choco install git-credential-manager-for-windows -y
    choco install slack -y
    choco install linqpad4 -y
    choco install NuGet.CommandLine -y
    choco install spotify -y
    choco pin add -n=linqpad4
    choco install nerd-font-cascadiacode -y
    choco install notepadplusplus -y
    choco install nvm -y
    choco install oh-my-posh -y
    choco install paint.net -y
    choco pin add -n=paint.net
    choco install poshgit -y
    choco install powershell-core -y
    choco install screentogif -y
    choco pin add -n=screentogif
    choco install slack -y
    choco pin add -n=slack
    choco install sysinternals -y
    choco install jdk -y
    choco install putty -y
    choco install terraform -y
    choco install windirstat -y
    choco install ilspy -y
    choco install redis-64 -y
    choco install docker-for-windows -y

    # JetBrains
    choco install resharper -y
    # IDEs
    choco install visualstudio2022enterprise -y
    choco install visualstudio2022-workload-visualstudioextension -y
    choco install visualstudio2022-workload-manageddesktop -y
    choco install visualstudio2022-workload-netweb -y # ASP.NET and web development
    choco install visualstudio2022-workload-netcoretools -y # .NET Core cross-platform development
    choco install visualstudio2022-workload-node -y #Node.js development
    choco install visualstudio2022-workload-azure -y
    choco install visualstudiocode -y

    # Manufacturer
    if ((get-wmiobject Win32_ComputerSystem).manufacturer -like "*Dell*") {
    choco install dellcommandupdate-uwp
    }

    Enable-UAC
    Install-WindowsUpdate -acceptEula
    if ((get-wmiobject Win32_ComputerSystem).manufacturer -like "*Lenovo*") {
    choco install lenovo-thinkvantage-system-update
    }
  2. kylefender revised this gist Sep 14, 2017. 1 changed file with 14 additions and 11 deletions.
    25 changes: 14 additions & 11 deletions DevBoxstarter
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,10 @@ $Boxstarter.RebootOk=$true # Allow reboots?
    $Boxstarter.NoPassword=$false # Is this a machine with no login password?
    $Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot

    Disable-UAC
    Disable-BingSearch
    Disable-GameBarTips

    choco install chocolatey -y
    choco install boxstarter -y
    choco install boxstarter.winconfig -y
    @@ -17,41 +21,40 @@ if (Test-PendingReboot) { Invoke-Reboot }
    Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
    Enable-RemoteDesktop

    #Environment
    choco install Microsoft-Hyper-V-All -y -source windowsFeatures
    choco install IIS-WebServerRole -y -source windowsfeatures
    choco install Microsoft-Windows-Subsystem-Linux -source windowsfeatures

    #Browser stuff
    choco install google-chrome-x64 -y
    choco install silverlight -y
    choco install google-chrome -y

    #Utilities
    choco install adobereader -y
    choco install clover -y
    choco install notepadplusplus -y
    choco install visualstudiocode -y
    choco install visualstudio2015enterprise -y
    choco install visualstudio2017enterprise -y
    choco install paint.net -y
    choco install 7zip.install -y
    choco install fiddler4 -y
    choco install vlc -y
    choco install git -y
    choco install git-credential-manager-for-windows -y
    choco install skype -y
    choco install slack -y
    choco install linqpad4 -y
    choco install vmwarevsphereclient -y
    choco install NuGet.CommandLine -y
    choco install spotify -y
    choco install virtualbox -y
    choco install sysinternals -y
    choco install jdk -y
    choco install putty -y
    choco install windirstat -y
    choco install ilspy -y
    choco install redis-64 -y
    choco install docker -y

    #Environment
    choco install Microsoft-Hyper-V-All -y -source windowsFeatures
    choco install IIS-WebServerRole -y -source windowsfeatures
    choco install docker-for-windows -y

    # JetBrains
    choco install resharper -y

    Enable-UAC
    Install-WindowsUpdate -acceptEula
  3. kylefender revised this gist Sep 12, 2016. 1 changed file with 42 additions and 33 deletions.
    75 changes: 42 additions & 33 deletions DevBoxstarter
    Original file line number Diff line number Diff line change
    @@ -1,48 +1,57 @@
    #RUN the following to kick off script-> START http://boxstarter.org/package/nr/url?<raw link ie. https://gist.github.com/kylefender/a80ef22675f35111124f6217bfab8f19/raw/eaaa85e17b463bafb8f464d7606bd4df5d3fb732/DevBoxstarter>

    choco install chocolatey
    choco install boxstarter
    choco install boxstarter.winconfig
    # Boxstarter options
    $Boxstarter.RebootOk=$true # Allow reboots?
    $Boxstarter.NoPassword=$false # Is this a machine with no login password?
    $Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot

    choco install chocolatey -y
    choco install boxstarter -y
    choco install boxstarter.winconfig -y

    #### .NET 3.5 ####
    choco install dotnet3.5 -y # Not automatically installed. Includes .NET 2.0. Uses Windows Features to install.
    if (Test-PendingReboot) { Invoke-Reboot }

    #run the rest in the boxstarter shell
    Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
    Enable-RemoteDesktop

    #Browser stuff
    choco install google-chrome-x64
    choco install silverlight

    # Text Editors
    choco install notepadplusplus
    choco install visualstudiocode
    choco install visualstudio2015enterprise
    choco install google-chrome-x64 -y
    choco install silverlight -y

    #Utilities
    choco install paint.net
    choco install 7zip.install
    choco install fiddler4
    choco install vlc
    choco install git
    choco install git-credential-manager-for-windows
    choco install skype
    choco install slack
    choco install linqpad4
    choco install vmwarevsphereclient
    choco install NuGet.CommandLine
    choco install spotify
    choco install virtualbox
    choco install sysinternals
    choco install jdk
    choco install putty
    choco install windirstat
    choco install ilspy
    choco install redis-64
    choco install docker
    choco install adobereader -y
    choco install clover -y
    choco install notepadplusplus -y
    choco install visualstudiocode -y
    choco install visualstudio2015enterprise -y
    choco install paint.net -y
    choco install 7zip.install -y
    choco install fiddler4 -y
    choco install vlc -y
    choco install git -y
    choco install git-credential-manager-for-windows -y
    choco install skype -y
    choco install slack -y
    choco install linqpad4 -y
    choco install vmwarevsphereclient -y
    choco install NuGet.CommandLine -y
    choco install spotify -y
    choco install virtualbox -y
    choco install sysinternals -y
    choco install jdk -y
    choco install putty -y
    choco install windirstat -y
    choco install ilspy -y
    choco install redis-64 -y
    choco install docker -y

    #Environment
    choco install Microsoft-Hyper-V-All -source windowsFeatures
    choco install IIS-WebServerRole -source windowsfeatures
    choco install Microsoft-Hyper-V-All -y -source windowsFeatures
    choco install IIS-WebServerRole -y -source windowsfeatures

    # JetBrains
    choco install resharper
    choco install resharper -y

  4. kylefender revised this gist Aug 3, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion DevBoxstarter
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    #RUN the following to kick off script-> START http://boxstarter.org/package/nr/url?<raw link ie. https://gist.github.com/kylefender/a80ef22675f35111124f6217bfab8f19/raw/53f59ae634117c5c86cd1f20bfeadac15e4a4f0e/DevBoxstarter>
    #RUN the following to kick off script-> START http://boxstarter.org/package/nr/url?<raw link ie. https://gist.github.com/kylefender/a80ef22675f35111124f6217bfab8f19/raw/eaaa85e17b463bafb8f464d7606bd4df5d3fb732/DevBoxstarter>

    choco install chocolatey
    choco install boxstarter
  5. kylefender revised this gist Aug 3, 2016. 1 changed file with 11 additions and 5 deletions.
    16 changes: 11 additions & 5 deletions DevBoxstarter
    Original file line number Diff line number Diff line change
    @@ -2,36 +2,42 @@

    choco install chocolatey
    choco install boxstarter
    choco install boxstarter.winconfig

    #run the rest in the boxstarter shell
    Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
    Enable-RemoteDesktop

    #Browser stuff
    choco install google-chrome-x64
    choco install silverlight

    # Text Editors
    choco install notepadplusplus
    choco install visualstudiocode
    choco install
    choco install visualstudio2015enterprise

    #Utilities
    choco install paint.net
    choco install 7zip.install
    choco install fiddler4
    choco install vlc
    choco install githubforwindows
    choco install git
    choco install git-credential-manager-for-windows
    choco install skype
    choco install f.lux
    choco install imagemagick
    choco install slack
    choco install linqpad
    choco install linqpad4
    choco install vmwarevsphereclient
    choco install NuGet.CommandLine
    choco install spotify
    choco install virtualbox
    choco install sysinternals
    choco install jdk
    choco install putty
    choco install windirstat
    choco install ilspy
    choco install redis-64
    choco install docker

    #Environment
    choco install Microsoft-Hyper-V-All -source windowsFeatures
  6. kylefender revised this gist Aug 2, 2016. 1 changed file with 1 addition and 8 deletions.
    9 changes: 1 addition & 8 deletions DevBoxstarter
    Original file line number Diff line number Diff line change
    @@ -1,28 +1,21 @@
    #RUN the following to kick off script-> START http://boxstarter.org/package/nr/url?https://gist.github.com/kylefender/a80ef22675f35111124f6217bfab8f19/raw/53f59ae634117c5c86cd1f20bfeadac15e4a4f0e/DevBoxstarter
    #RUN the following to kick off script-> START http://boxstarter.org/package/nr/url?<raw link ie. https://gist.github.com/kylefender/a80ef22675f35111124f6217bfab8f19/raw/53f59ae634117c5c86cd1f20bfeadac15e4a4f0e/DevBoxstarter>

    #So Meta!
    choco install chocolatey
    choco install boxstarter

    #run the rest in the boxstarter shell

    Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
    Enable-RemoteDesktop


    #Browser stuff
    choco install google-chrome-x64



    # Text Editors
    choco install notepadplusplus
    choco install visualstudiocode
    choco install
    choco install visualstudio2015enterprise



    #Utilities
    choco install paint.net
    choco install 7zip.install
  7. kylefender revised this gist Aug 1, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion DevBoxstarter
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    #RUN the following to kick off script-> START http://boxstarter.org/package/nr/url?https://gist.github.com/kylefender/a80ef22675f35111124f6217bfab8f19/raw/3539db91881b80e5afd7219d00f5f05aa7796c4f/DevBoxstarter
    #RUN the following to kick off script-> START http://boxstarter.org/package/nr/url?https://gist.github.com/kylefender/a80ef22675f35111124f6217bfab8f19/raw/53f59ae634117c5c86cd1f20bfeadac15e4a4f0e/DevBoxstarter

    #So Meta!
    choco install chocolatey
  8. kylefender revised this gist Aug 1, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion DevBoxstarter
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    #RUN the following to kick off script-> START http://boxstarter.org/package/nr/url?https://gist.github.com/caschw/7216643660f349b6e9e2/raw/763cb0a42ab7e21eee9c22a96b94df5c0e1bcaa5/boxstarter
    #RUN the following to kick off script-> START http://boxstarter.org/package/nr/url?https://gist.github.com/kylefender/a80ef22675f35111124f6217bfab8f19/raw/3539db91881b80e5afd7219d00f5f05aa7796c4f/DevBoxstarter

    #So Meta!
    choco install chocolatey
  9. kylefender created this gist Aug 1, 2016.
    49 changes: 49 additions & 0 deletions DevBoxstarter
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,49 @@
    #RUN the following to kick off script-> START http://boxstarter.org/package/nr/url?https://gist.github.com/caschw/7216643660f349b6e9e2/raw/763cb0a42ab7e21eee9c22a96b94df5c0e1bcaa5/boxstarter

    #So Meta!
    choco install chocolatey
    choco install boxstarter

    #run the rest in the boxstarter shell

    Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
    Enable-RemoteDesktop


    #Browser stuff
    choco install google-chrome-x64



    # Text Editors
    choco install notepadplusplus
    choco install visualstudiocode
    choco install
    choco install visualstudio2015enterprise



    #Utilities
    choco install paint.net
    choco install 7zip.install
    choco install fiddler4
    choco install vlc
    choco install githubforwindows
    choco install skype
    choco install f.lux
    choco install imagemagick
    choco install slack
    choco install linqpad
    choco install vmwarevsphereclient
    choco install NuGet.CommandLine
    choco install spotify
    choco install virtualbox
    choco install sysinternals

    #Environment
    choco install Microsoft-Hyper-V-All -source windowsFeatures
    choco install IIS-WebServerRole -source windowsfeatures

    # JetBrains
    choco install resharper