-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path02_general_dev.ps1
44 lines (33 loc) · 1.33 KB
/
02_general_dev.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
cinst gitextensions
cinst kdiff3
cinst procExp
cinst baretail
cinst putty
cinst conemu
choco install greenshot
$codeDir = "c:\code"
$gitHubScriptDir = "$codeDir\ChocolateyAndSetupScripts"
mkdir $codeDir
git clone https://github.com/meselgroth/ChocolateyAndSetupScripts.git $gitHubScriptDir
cp "$gitHubScriptDir\ConEmu.xml" $env:APPDATA
git config --global --add difftool.prompt false
#git config --global credential.helper wincred
git config --global alias.lga “log --graph --oneline --all --decorate”
#cinst psget
#This isn't required after a successful git installation, left it here just in case needed
#[Environment]::SetEnvironmentVariable("Path", $env:Path + ";$gitCmd", [EnvironmentVariableTarget]::Machine)
install-module posh-git -Force
Install-Module posh-docker -Force
cinst linqpad5
cinst ilmerge
cinst dotPeek
#cinst msbuild.communitytasks
cinst nodejs.install
#Network debuggin https://gallery.technet.microsoft.com/scriptcenter/Invoke-TSPingSweep-b71f1b9b
iex ((New-Object System.Net.WebClient).DownloadString('https://gallery.technet.microsoft.com/scriptcenter/Invoke-TSPingSweep-b71f1b9b/file/60234/1/Invoke-TSPingSweep.ps1'))
if (-Not (Test-Path $PROFILE)) {
New-Item $PROFILE –Type File –Force
}
Add-Content $PROFILE (Get-Content $gitHubScriptDir\content-for-ps-profile.ps1)
Write-Host "Finished installing "
Read-Host