PowerShell.MCP v1.2.3 - Enhanced Command Feedback & Major Stability Update #5
yotsuda
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Enhanced Command Feedback & Major Stability Update
This release delivers comprehensive execution statistics for better command visibility and a critical stability fix that eliminates unpredictable behavior.
✨ Key Improvements
📊 Execution Statistics Dashboard
Every command now displays real-time statistics:
Example Output:
🔴 Error Stream Now Visible in Console
The Problem:
Invoke-Expression's-ErrorVariableparameter suppresses console displayThe Solution:
-ErrorVariable)🎯 Critical Stability Fix: Preference Variables
What Was Wrong:
$VerbosePreference,$DebugPreference, and$InformationPreferenceto capture streamsfinallyblocks to restore values, restoration frequently failedWhat's Fixed:
📝 Better Output Formatting
📦 Installation & Upgrade
🆕 New Installation
🔄 Upgrading from Previous Version
Update-Module PowerShell.MCP⚙ Post-Installation Configuration
Important: Update your MCP client configuration to use the new version path.
Step 1: Get your module path
Step 2: Update Claude Desktop config (
%APPDATA%\Claude\claude_desktop_config.json){ "mcpServers": { "PowerShell": { "command": "C:\\Users\\YourName\\Documents\\PowerShell\\Modules\\PowerShell.MCP\\1.2.3\\bin\\PowerShell.MCP.Proxy.exe" } } }Step 3: Restart Claude Desktop
📖 Detailed instructions: https://github.com/yotsuda/PowerShell.MCP#installation
📊 What Changed
💡 Usage Examples
Command with Error
Result:
✗ Pipeline executed with errors | Duration: 0.03s | Errors: 1Multi-Stream Output
Result:
Warnings: 1 | Info: 1🔧 Technical Notes
Error Stream Challenge
PowerShell's
-ErrorVariablecaptures errors but suppresses console output. Our solution displays captured errors after execution completes, ensuring both MCP capture and console visibility.Stream Capture Strategy
Implementation
System.Diagnostics.Stopwatchfor precise measurements-ErrorVariable,-WarningVariable,-InformationVariable)Write-Host -ForegroundColor Redfor errors/exceptions🙏 Acknowledgments
Thanks to our community for feedback on command visibility and stability that guided these improvements.
Questions or Issues? Please use our GitHub Discussions for support.
This discussion was created from the release PowerShell.MCP v1.2.3 - Enhanced Command Feedback & Major Stability Update.
Beta Was this translation helpful? Give feedback.
All reactions