Search notes:

PowerShell cmdLet Enter-VsDevShell

PS C:\> get-vsSetupInstance | select instanceId, displayName

instanceId displayName
---------- -----------
93d5ff6a   Visual Studio Community 2022

PS C:\> import-module 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\Microsoft.VisualStudio.DevShell.dll'
PS C:\> enter-vsDevShell 93d5ff6a
**********************************************************************
** Visual Studio 2022 Developer PowerShell v17.3.0
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************

TODO

Dev shell can (should probably) be launched with C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\Launch-VsDevShell.ps1.

See also

Powershell command noun: vsDevShell

Index