Add-VsDevPwsh7
0.1.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
Owners
Copyright
(c) 2026 ScriptForge. All rights reserved.
Package Details
Author(s)
- ScriptForge
Tags
VisualStudio PowerShell7 Developer Terminal
Functions
Dependencies
This script has no dependencies.
Release Notes
v0.1.0
- Add: Pre-check for disk root directory path to prevent permission denied errors
新增:磁盘根目录路径前置校验,规避根目录写入权限拒绝问题
- Enhance: Unified error handling logic, added bilingual Chinese/English prompt messages
优化:统一错误捕获处理逻辑,新增中英文双语提示文案
- Initial feature: Auto-locate Visual Studio via vswhere, generate PowerShell 7 developer environment startup script
初始功能:通过 vswhere 自动检索本地 Visual Studio,生成加载完整编译环境的 PowerShell 7 启动脚本
FileList
- Add-VsDevPwsh7.nuspec
- Add-VsDevPwsh7.ps1