Forked from mjul/Microsoft.PowerShell_profile.ps1
Last active
August 29, 2015 14:20
-
-
Save mapitman/b21297798599ba7c2146 to your computer and use it in GitHub Desktop.
This file contains 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 characters
pushd 'c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC' | |
cmd /c "vcvarsall.bat&set" | | |
foreach { | |
if ($_ -match "=") { | |
$v = $_.split("="); set-item -force -path "ENV:\$($v[0])" -value "$($v[1])" | |
} | |
} | |
popd | |
write-host "`nVisual Studio 2013 Command Prompt variables set." -ForegroundColor Yellow | |
# Enable git support via GitHub client | |
. (Resolve-Path "$env:LOCALAPPDATA\GitHub\shell.ps1") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment