winget install --id=Microsoft.VisualStudio.Locator -e copy winget command to clipboard
Find and get information on Visual Studio versions 2017 and newer with optional additional criteria such as version, channel, or installed workloads.