vswhere
Localiza instalaciones de Visual Studio 2017 y posteriores. Más información: https://github.com/microsoft/vswhere.
vswhere -products * -latest -prerelease -find **\VC\Auxiliary\Build\vcvarsall.bat
vswhere -products * -latest -prerelease -find **\Hostx64\x64\*
vswhere -products * -latest -prerelease -find **\Llvm\bin\*
MSBuild.exe
:vswhere -products * -latest -prerelease -find MSBuild\**\Bin\MSBuild.exe