PowerShell module for loading Visual Studio Environment variables.
Derived from PSVSEnv.
It provides the following function:
Use-VS2010
: Loads environment variables for Visual Studio 2010Use-VS2012
: Loads environment variables for Visual Studio 2012Use-VS2013
: Loads environment variables for Visual Studio 2013Use-VS2015
: Loads environment variables for Visual Studio 2015Use-VS2017
: Loads environment variables for Visual Studio 2017Use-VS2019
: Loads environment variables for Visual Studio 2019Use-VS2022
: Loads environment variables for Visual Studio 2022
Note: each one of these functions needs the related software installed.
Windows 10 and later users:
Install-Module PSVSWhere -Scope CurrentUser
Otherwise, if you have PsGet installed:
Install-Module PSVSWhere
Or you can install it manually coping PSVSWhere.psm1
to your modules folder (e.g. $Env:USERPROFILE\Documents\WindowsPowerShell\Modules\PSVSWhere\
)