Created
January 10, 2022 11:04
-
-
Save tahadraidia/e720d01c651facd989a2072c776a8b55 to your computer and use it in GitHub Desktop.
Visual Studio Developer PowerShell Alias
This file contains hidden or 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
Function RunDevShell { | |
Import-Module "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"; | |
Enter-VsDevShell ba5e788f -StartInPath $PWD | |
} | |
Set-Alias -Name DevShell -Value RunDevShell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment