iex
(
(new-object net.webclient).DownloadString
(
'https://chocolatey.org/install.ps1'
)
)
choco install -y BoxStarter
@powershell
-NoProfile -ExecutionPolicy Bypass
-Command "Install-BoxStarterPackage
-PackageName %temp%\\BoxstarterGist.txt"
@powershell
-NoProfile -ExecutionPolicy Bypass
-Command "Install-BoxStarterPackage
-PackageName [Gist Url]"
Enable-RemoteDesktop
Set-CornerNavigationOptions -EnableUsePowerShellOnWinX
Set-ExplorerOptions
-EnableShowHiddenFilesFoldersDrives
-EnableShowProtectedOSFiles
-EnableShowFileExtensions
-EnableShowFullPathInTitlebar
Set-TaskbarOptions -Size Small -Lock
chocolatey feature enable -n=allowGlobalConfirmation
choco install git
choco install nodejs
choco install visualstudiocode
choco install GoogleChrome
.....
chocolatey feature disable -n=allowGlobalConfirmation
Install-ChocolateyPinnedTaskBarItem
"${env:UserProfile}\Desktop\code.lnk"
Install-ChocolateyPinnedTaskBarItem
"${env:ProgramFiles(x86)}\Google\Chrome\Application\chrome.exe"
npm config set loglevel http
npm config set spin false
npm install -g ionic
npm install -g cordova
$vsCodeDir = "${env:appdata}\Code"
If ((Test-Path $vsCodeDir)) {
cp "${env:temp}\VisualStudioCode_keybinding.json"
"$vsCodeDir\keybinding.json"
cp "${env:temp}\VisualStudioCode_UserSettings.json"
"$vsCodeDir\usersettings.json"
}
else {
Write-Host "Error: Visual Studio Code Directory, $vsCodeDir is missing"
}
$projectDir = "${env:systemdrive}\projects"
If (!(Test-Path $projectDir)) {
New-Item -Path $projectDir -ItemType Directory
}
cd $projectDir
git clone ....