Skip to content

Instantly share code, notes, and snippets.

@jen20
Created April 25, 2014 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jen20/11290410 to your computer and use it in GitHub Desktop.
Save jen20/11290410 to your computer and use it in GitHub Desktop.
Pin Visual Studio to the task bar via Powershell
$shell = new-object -com "Shell.Application"
$dir = $shell.Namespace("C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE")
$item = $dir.ParseName("devenv.exe")
$item.InvokeVerb('taskbarpin')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment