title: Use NuGet PowerShell commandlets from outside Visual Studio
body: <p>I was trying to use my favorite source control from the Package Manager console in Visual Studio 2010. I had issues described in another <a href="https://stackoverflow.com/questions/12862891/using-git-from-package-manager-console-in-visual-studio">topic</a>. For now the best answer is to move all command-line stuff from Visual Studio to bare PowerShell.</p>
  
  <p>But this case the Visual Studio related commandlets are not working. For example, most crucial one — I cannot run <code>Update-Database</code> command from <a href="http://en.wikipedia.org/wiki/ADO.NET_Entity_Framework" rel="nofollow noreferrer">Entity Framework</a>.</p>
  
  <p>Is it possible to register somehow Visual Studio specific commandlets for the current project in PowerShell? Or make PowerShell automatically take current project context from the <code>packages</code> subfolder?</p>