-
-
Save davehorner/756e63921450b34dd8bcd13bf97fedf6 to your computer and use it in GitHub Desktop.
Revisions
-
turboBasic revised this gist
Nov 3, 2017 . 1 changed file with 121 additions and 38 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,53 +1,136 @@ Function Install-Scoop { New-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ` -propertyType ExpandString ` -name "SCOOP_GLOBAL" ` -value "${ENV:PROGRAMDATA}\scoop" Invoke-WebRequest 'https://get.scoop.sh' | Invoke-Expression 'scoop install Git-with-OpenSSH Sudo Which --global' | Set-Content -path temp_script.ps1 Start-Process PowerShell -verb RunAs -argument "-noProfile $(Convert-Path .\temp_script.ps1)" Remove-Item temp_script.ps1 -force scoop bucket add Extras scoop bucket add Nirsoft } Function Install-Chocolatey-OldWay { Start-Process PowerShell -verb RunAs -argument "-noProfile Invoke-WebRequest 'https://chocolatey.org/install.ps1' | Invoke-Expression" refreshEnv pushd "${env:ChocolateyInstall}\tools" sudo .\shimgen --output="..\bin\shimgen.exe" --path="..\tools\shimgen.exe" | Out-Null popd } Function Install-Chocolatey { Install-PackageProvider Chocolatey -scope CurrentUser Set-PackageSource -name Chocolatey -trusted } Function Install-ChocolateyPackages-OldWay { # Basic utilities sudo choco install 7zip.install 7zip.commandline -y -pre # Libraries sudo choco install VCredist-All JRE8 -y # Registry, Environment, System Management utilities sudo choco install Rapidee RegistryManager DoubleCmd Rufus SysInternals SystemExplorer -y scoop install OpenedFilesView # Shells, Terminals and launchers sudo choco install CmderMini Keypirinha LinkShellExtension Putty Streams -y # Text editors, finders and organizers sudo choco install NotepadPlusPlus.install --x86 -y sudo shimgen --output="${env:ChocolateyPath}\bin\npp.exe" ` --path="${env:ProgramFiles(x86)}\Notepad++\notepad++.exe" ` --iconPath="${env:ProgramFiles(x86)}\Notepad++\notepad++.exe" ` --gui sudo choco install Everything Ditto.install -y # Internet sudo choco install QbitTorrent GoogleChrome -y # Media viewers / managers sudo choco install SumatraPDF.install Calibre Vlc Foobar2000 Fsviewer Dropbox -y # Development IDEs sudo choco install Webstorm Phpstorm -y # Development tools sudo choco install Kdiff3 Winscp.portable Lepter jq -y } Function Install-ChocolateyPackages { PARAM( [Parameter( Mandatory )] [String[]] $packages ) $packages | ForEach { Install-Package $_ -verbose } } Function Install-ScoopPackages { PARAM( [Parameter( Mandatory )] [String[]] $packages ) $packages | ForEach { scoop install $_ } } $chocoPackages = @( '7zip.install', '7zip.commandline', # Basic utilities 'VCredist-All', 'JavaRuntime', # Libraries 'Rapidee', 'RegistryManager', 'Rufus', # Registry, Environment, System Management utilities 'SysInternals', 'SystemExplorer', # 'CmderMini', 'DoubleCmd', 'Keypirinha', # Shells, Terminals and Launchers 'LinkShellExtension', 'Putty', 'Streams', # 'Ditto.install', 'Everything', # Text editors, finders and organizers 'NotepadPlusPlus.install', # 'QbitTorrent', 'GoogleChrome', # Internet 'SumatraPDF.install', 'Calibre', 'Vlc', # Media viewers / Managers 'Foobar2000', 'Fsviewer', 'Dropbox', # 'Webstorm', 'Phpstorm', # Development IDEs 'Kdiff3', 'WinSCP.portable', 'Lepter', 'jq' # Development tools ) $chocoPackagesLight = @( '7zip.install', '7zip.commandline', # Basic utilities 'Rapidee', 'RegistryManager', 'SystemExplorer', # Registry, Environment, System Management utilities 'CmderMini', 'Keypirinha', 'DoubleCmd', # Shells, Terminals and Launchers 'LinkShellExtension', 'Putty', # 'Everything', 'NotepadPlusPlus.install', # Text editors, finders and organizers 'QbitTorrent', 'GoogleChrome', # Internet 'SumatraPDF.install', 'Vlc', # Media viewers / Managers 'Foobar2000', 'Fsviewer' # ) $chocoPackagesX86 = @( 'NotepadPlusPlus.install' # Text editors, finders and organizers ) $scoopPackages = @( 'Filetypesman', 'ShellExView', # Registry, Environment, System Management utilities 'ShellMenuView', 'RegDllView', # 'OpenedFilesView' # ) Install-Scoop sudo Install-Chocolatey sudo Install-ChocolateyPackages $chocoPackagesLight Install-ScoopPackages $scoopPackages -
turboBasic revised this gist
Nov 3, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ New-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\E Invoke-WebRequest 'https://get.scoop.sh' | Invoke-Expression 'scoop install Sudo Git-with-OpenSSH Which --global' | Set-Content -path temp_script.ps1 Start-Process PowerShell -verb RunAs -argument "-noProfile $(Convert-Path .\temp_script.ps1)" Remove-Item temp_script.ps1 -force -
turboBasic revised this gist
Nov 3, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ New-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\E Invoke-WebRequest 'https://get.scoop.sh' | Invoke-Expression 'scoop install sudo Git-with-OpenSSH Which --global' | Set-Content -path temp_script.ps1 Start-Process PowerShell -verb RunAs -argument "-noProfile $(Convert-Path .\temp_script.ps1)" Remove-Item temp_script.ps1 -force scoop bucket add Extras -
turboBasic revised this gist
Nov 3, 2017 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,13 +4,14 @@ New-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\E -value "${ENV:PROGRAMDATA}\scoop" Invoke-WebRequest 'https://get.scoop.sh' | Invoke-Expression 'scoop install sudo Git-with-OpenSSH Which --global' | Set-Content -path temp_script.ps1 Start-Process PowerShell -verb RunAs -argument "-noProfile; $(Convert-Path .\temp_script.ps1)" Remove-Item temp_script.ps1 -force scoop bucket add Extras scoop bucket add Nirsoft sudo Invoke-WebRequest 'https://chocolatey.org/install.ps1' | Invoke-Expression refreshEnv pushd "${env:ChocolateyInstall}\tools" -
turboBasic revised this gist
Nov 3, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ New-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ` -propertyType ExpandString ` -name "SCOOP_GLOBAL" ` -value "${ENV:PROGRAMDATA}\scoop" Invoke-WebRequest 'https://get.scoop.sh' | Invoke-Expression scoop bucket add Extras -
turboBasic revised this gist
Nov 3, 2017 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -23,8 +23,8 @@ sudo choco install 7zip.install 7zip.commandline -y -pre # Libraries sudo choco install VcRedist-All JRE8 # Registry, Environment, System Management utilities sudo choco install Rapidee RegistryManager DoubleCmd Rufus SysInternals SystemExplorer OpenedFilesView -y # Shells, Terminals and launchers sudo choco install CmderMini Keypirinha LinkShellExtension Putty Streams -y @@ -47,4 +47,6 @@ sudo choco install SumatraPDF.install Calibre Vlc Foobar2000 Fsviewer Dropbox - sudo choco install Webstorm Phpstorm -y # Development tools sudo choco install Kdiff3 Winscp.portable Lepter jq -y -
turboBasic revised this gist
Nov 3, 2017 . 1 changed file with 17 additions and 12 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,8 +4,8 @@ New-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\E -value "%PROGRAMDATA%\scoop" Invoke-WebRequest 'https://get.scoop.sh' | Invoke-Expression scoop bucket add Extras scoop bucket add Nirsoft 'scoop install sudo Git-with-OpenSSH Which --global' | Set-Content -path temp_script.ps1 Start-Process PowerShell -verb RunAs -argument "-noProfile; $(Convert-Path .\temp_script.ps1)" @@ -14,32 +14,37 @@ Remove-Item temp_script.ps1 -force sudo Invoke-WebRequest 'https://chocolatey.org/install.ps1' | Invoke-Expression refreshEnv pushd "${env:ChocolateyInstall}\tools" sudo .\shimgen --output="..\bin\shimgen.exe" --path="..\tools\shimgen.exe" | Out-Null popd # Basic utilities sudo choco install 7zip.install 7zip.commandline -y -pre # Libraries sudo choco install VcRedist-All JRE8 # Registry and Environment Utilities sudo choco install Rapidee RegistryManager -y # Shells, Terminals and launchers sudo choco install CmderMini Keypirinha LinkShellExtension Putty Streams -y # Text editors, finders and organizers sudo choco install NotepadPlusPlus.install --x86 -y sudo shimgen --output="${env:ChocolateyPath}\bin\npp.exe" ` --path="${env:ProgramFiles(x86)}\Notepad++\notepad++.exe" ` --iconPath="${env:ProgramFiles(x86)}\Notepad++\notepad++.exe" ` --gui sudo choco install Everything Ditto.install -y # Internet sudo choco install QbitTorrent GoogleChrome -y # Media viewers / managers sudo choco install SumatraPDF.install Calibre Vlc Foobar2000 Fsviewer Dropbox -y # Development IDEs sudo choco install Webstorm Phpstorm -y # Development tools sudo choco install Kdiff3 Winscp.portable Lepter -y -
turboBasic created this gist
Nov 3, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,45 @@ New-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ` -propertyType ExpandString ` -name "SCOOP_GLOBAL" ` -value "%PROGRAMDATA%\scoop" Invoke-WebRequest 'https://get.scoop.sh' | Invoke-Expression scoop bucket add extras scoop bucket add nirsoft 'scoop install sudo Git-with-OpenSSH Which --global' | Set-Content -path temp_script.ps1 Start-Process PowerShell -verb RunAs -argument "-noProfile; $(Convert-Path .\temp_script.ps1)" Remove-Item temp_script.ps1 -force sudo Invoke-WebRequest 'https://chocolatey.org/install.ps1' | Invoke-Expression refreshEnv pushd "${env:ChocolateyInstall}\tools" sudo .\shimgen -o="..\bin\shimgen.exe" -p="..\tools\shimgen.exe" | Out-Null popd # Basic utilities sudo choco install 7zip.install 7zip.commandline -y -pre # Libraries sudo choco install vcredist-all jre8 # Registry and Environment Utilities sudo choco install rapidee registrymanager -y # Shells, Terminals and launchers sudo choco install cmdermini keypirinha linkshellextension putty streams -y # Text editors, finders and organizers sudo choco install notepadPlusPlus.install --x86 -y sudo shimgen --output="${env:ChocolateyPath}\bin\npp.exe" ` --path="${env:ProgramFiles(x86)}\Notepad++\notepad++.exe" ` --iconPath="${env:ProgramFiles(x86)}\Notepad++\notepad++.exe" --gui sudo choco install Everything Ditto.install -y # Development IDEs sudo choco install webstorm phpstorm -y # Development tools sudo choco install kdiff3 winscp.portable -y