Add-VsDevPwsh7

0.0.1

Locate installed Visual Studio instances via vswhere, generate a startup script that loads complete VS build environment for PowerShell 7.
Supports registering to Windows Registry and adding dedicated profile to Windows Terminal.
通过 vswhere 检索本机已安装的 Visual Studio,生成加载完整编译环境的 PowerShell 7 启动脚本,支持写入注册表注册程序、向 Windows Terminal 添加专属配置项。

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Add-VsDevPwsh7

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 ScriptForge6. All rights reserved.

Package Details

Author(s)

  • ScriptForge6

Tags

VisualStudio PowerShell7 Developer Terminal

Functions

Test-ParameterDependency

Dependencies

This script has no dependencies.

Release Notes

Initial release. Auto-detect Visual Studio via vswhere, generate PowerShell 7 startup script with full build environment.

FileList

Version History

Version Downloads Last updated
0.0.1 (current version) 6 7/18/2026