powershell BoxStarter使用Chocolatey Install Scripts

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了powershell BoxStarter使用Chocolatey Install Scripts相关的知识,希望对你有一定的参考价值。

## set powershell executing policy
Set-ExecutionPolicy Remotesign -Force

Original link
http://boxstarter.org/Learn/WebLauncher

## Step 3
### Install the Boxstarter Modules
You can download the Boxstarter module installer from this web site or you can use Chocolatey to install the Boxstarter. Alternatively, you may invoke the module installer over the web using powershell.

If you are running powershell v3 or higher:

```
. { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
If you are running powershell v2:
```

```
iex ((New-Object System.Net.WebClient).DownloadString('http://boxstarter.org/bootstrapper.ps1')); get-boxstarter -Force
```
This will install Chocolatey if necessary and then install the necessary boxstarter modules.

## Step 4
### Run the script

```
Install-BoxstarterPackage -PackgeName https://gist.github.com/mwrock/7382880/raw/f6525387b4b524b8eccef6ed4d5ec219c82c0ac7/gistfile1.txt -DisableReboots
```

----------

### Chocolatey_full.ps1
```
Install-BoxstarterPackage -PackgeName  https://gist.githubusercontent.com/alantsai/9857c1a3374baebafb90/raw/531396cf998f9297cc8e863452ffa285ec71fc53/chocolatey_full.ps1 -DisableReboots
```

### Chocolatey_essential.ps1
```
Install-BoxstarterPackage -PackgeName https://gist.githubusercontent.com/alantsai/9857c1a3374baebafb90/raw/4a1d4d8ebedb423e19603b92ab0302ab27bd60b0/chocolatey_essential.ps1 -DisableReboots
```
choco install dropbox

choco install 7zip
choco install 7zip.install

choco install winmerge

choco install fiddler4

choco install notepadplusplus

choco install git
choco install gittfs

choco install tortoisegit

choco install paint.net

choco install dotpeek

choco install foxitreader

choco install potplayer

choco install javaruntime

choco install vim

choco install zoom

choco install rescuetime

choco install visualstudiocode

choco install teamviewer

choco install nodejs

choco install poshgit

Disable-BingSearch

Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions

Move-LibraryDirectory "Personal" "D:\Library\Documents"
Move-LibraryDirectory "My Video" "D:\Library\Videos"
Move-LibraryDirectory "My Pictures" "D:\Library\Pictures"
Move-LibraryDirectory "Desktop" "D:\Library\Desktop"
Move-LibraryDirectory "{374DE290-123F-4565-9164-39C4925E467B}" "D:\Library\Downloads"

Move-LibraryDirectory "Startup" "D:\Library\Startup"
Move-LibraryDirectory "Start Menu" "D:\Library\StartMenu"

Install-WindowsUpdate
choco install dropbox

choco install 7zip
choco install 7zip.install

choco install winmerge

choco install fiddler4

choco install notepadplusplus

choco install vagrant

choco install googlechrome

choco install firefox

choco install thunderbird

choco install git
choco install gittfs

choco install tortoisegit

choco install tortoisesvn

choco install zoomit

choco install openlivewriter

choco install paint.net

choco install dotpeek

choco install foxitreader

choco install potplayer

choco install javaruntime

choco install ccleaner

choco install vim

choco install zoom

choco install rescuetime

choco install visualstudiocode

choco install teamviewer

choco install soapui

choco install typescript-vs2015

choco install nodejs


choco install poshgit
choco install powertab

Disable-BingSearch

Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions

Move-LibraryDirectory "Personal" "D:\Library\Documents"
Move-LibraryDirectory "My Video" "D:\Library\Videos"
Move-LibraryDirectory "My Pictures" "D:\Library\Pictures"
Move-LibraryDirectory "Desktop" "D:\Library\Desktop"
Move-LibraryDirectory "My Music" "D:\Library\Music"

Move-LibraryDirectory "Startup" "D:\Library\Startup"
Move-LibraryDirectory "Start Menu" "D:\Library\StartMenu"

Install-WindowsUpdate

以上是关于powershell BoxStarter使用Chocolatey Install Scripts的主要内容,如果未能解决你的问题,请参考以下文章

powershell BoxStarter使用Chocolatey Install Scripts

powershell Boxstarter脚本(bitcrazed)

powershell HyperV Boxstarter设置

powershell BoxStarter VS2015

powershell Boxstarter Windows 10配置

powershell 用于新Windows框的Boxstarter命令。