用途:pwsh 模块用于在支持 PowerShell 的平台上增强 PowerShell 命令行体验,面向需要管理 Windows/PowerShell 专有系统资源的场景,例如磁盘、IP 与进程管理,也可用于通过 x-cmd 进入 PowerShell 交互式 REPL 进行快速系统诊断(进程、服务、日志等)。
主要能力:提供交互式 REPL;提供系统管理子命令,可用 PowerShell 后端列出系统进程(x pwsh ps),并覆盖磁盘、IP 等资源管理场景。
使用方式:进入交互式 PowerShell REPL:x pwsh --repl;使用 PowerShell 后端列出系统进程:x pwsh ps。
适用场景:Windows 或 PowerShell 相关系统资源管理;在 x-cmd 下进入 PowerShell 交互环境;借助 PowerShell 进行快速系统诊断。
限制:资料提示需先确认环境是否支持 PowerShell(主要面向 Git Bash/Windows),并确认要管理的具体系统资源;其余细节暂未提供。