Skip to content

Instantly share code, notes, and snippets.

@anonymous2ch
Created January 18, 2020 17:25
Show Gist options
  • Save anonymous2ch/f04e067b037a1057b41c8d090e924408 to your computer and use it in GitHub Desktop.
Save anonymous2ch/f04e067b037a1057b41c8d090e924408 to your computer and use it in GitHub Desktop.
# Запускаешь в powershell:
# . { iwr -useb https://boxstarter.org/bootstrapper.ps1 } | iex; Get-Boxstarter -Force
$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
Update-ExecutionPolicy Unrestricted -Force
Set-ExplorerOptions -showHidenFilesFoldersDrives -showFileExtensions
Enable-RemoteDesktop
Enable-MicrosoftUpdate
Disable-InternetExplorerESC
cinst PowerShell
cinst adobereader
cinst 7zip.commandline
cinst 7zip.install
cinst google-chrome-x64
cinst filezilla
cinst sysinternals
cinst putty.install
cinst notepadplusplus.install
cinst paint.net
cinst vlc
cinst cccp
cinst windirstat
cinst git.install
cinst python
Install-ChocolateyFileAssociation ".txt" "${env:ProgramFiles(x86)}\Notepad++\Notepad++.exe"
Install-ChocolateyFileAssociation ".xml" "${env:ProgramFiles(x86)}\Notepad++\Notepad++.exe"
Install-ChocolateyFileAssociation ".nuspec" "${env:ProgramFiles(x86)}\Notepad++\Notepad++.exe"
Install-ChocolateyFileAssociation ".config" "${env:ProgramFiles(x86)}\Notepad++\Notepad++.exe"
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles)\Google\Chrome\Application\chrome.exe"
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Notepad++\Notepad++.exe"
Install-WindowsUpdate -getUpdatesFromMS -acceptEula -SuppressReboots
Set-CornerNavigationOptions -DisableUpperRightCornerShowCharms -DisableUpperLeftCornerSwitchApps -DisableUsePowerShellOnWinX
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar -EnableOpenFileExplorerToQuickAccess -EnableShowRecentFilesInQuickAccess -EnableShowFrequentFoldersInQuickAccess -EnableExpandToOpenFolder -EnableShowRibbon
if (Test-PendingReboot) { Invoke-Reboot }
@anonymous2ch
Copy link
Author

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