Search notes:

Powershell command noun: vsSetupInstance

Commands related to the PowerShell command noun vsSetupInstance:
This module can be installed like so:
PS C:\> install-packageProvider -name NuGet -minimumVersion 2.8.5.201 -force
PS C:\> install-module vsSetup -scope currentUser -force
get-vsSetupInstance | select displayName, installationVersion, installationPath
The following command seems to select the components that were installed with a given Visual Studio installation:
(get-vsSetupInstance -path 'C:\Program Files\Microsoft Visual Studio\2022\Community').packages | select id, version

See also

vswhere.exe
Powershell command nouns

Index