desktop/scripts/inspect-vs-copilot.ps1
Comment 1, line 1
desktop/scripts/inspect-vs-copilot.ps1:1
<#.SYNOPSISRead-only inventory of Visual Studio instances, Copilot components and local files..DESCRIPTIONUses the official Setup Configuration client (vswhere), across all products andprerelease instances. Reads assembly metadata and file counts only; never readschat bodies, credentials or account reports. Does not install or configure VS.Finding an exporter type does not establish that it emitted usage.#>Comment 2, line 45
desktop/scripts/inspect-vs-copilot.ps1:45
# This is Microsoft's documented Installer tool location, not a VS IDEComment 3, line 46
desktop/scripts/inspect-vs-copilot.ps1:46
# installation path. IDE paths come exclusively from vswhere's results.Comment 4, line 57
desktop/scripts/inspect-vs-copilot.ps1:57
# Do not use -latest, a year range, or a Community-only product selector.Comment 5, line 104
desktop/scripts/inspect-vs-copilot.ps1:104
# The current runtime result is authoritative for this process. VS may haveComment 6, line 105
desktop/scripts/inspect-vs-copilot.ps1:105
# inherited a different environment; keep user defaults and both variables asComment 7, line 106
desktop/scripts/inspect-vs-copilot.ps1:106
# separate candidates and report only directories that can be inspected.