Supporting "standard" PSModulePath values

Dec 28, 2011 at 5:24 PM

I noticed that the NuGet host modifies the PSModulePath environment variable to include 'C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft Corporation\NuGet Package Manager\<version>\Modules\'.  Is there a specific reason the user-based ~/documents/windowspowershell/modules path is not also included? 

Dec 28, 2011 at 5:50 PM

Because the NuGet console is a different host than the Windows PowerShell console. You can easily add that path in your profile script if you need it.