PowerShell.MCP v1.2.5 - Enhanced Text File Operations #7
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 Text File Operations
Building on v1.2.4's foundation, this release adds validation improvements, a new cmdlet, and performance optimizations.
✨ What's New
🆕 New Cmdlet: Test-TextFileContains
Check if text exists in files - returns Boolean for easy conditional logic:
🔧 Enhancements
Improved Cmdlet Usability
Set-LinesToFile - Now creates files and supports whole-file replacement:
Add-LinesToFile - Simplified new file creation:
Stronger Validation
LineRange Validation - Rejects invalid ranges:
Parameter Mutual Exclusion - Clearer error messages:
1-Based Line Numbers - Strict validation (must be ≥ 1):
⚡ Performance
Added RegexOptions.Compiled to pattern-based operations for faster repeated matching in large files:
🔐 Security
CVE-2024-43483 Mitigation - Added explicit dependency on System.Formats.Asn1 9.0.9
📋 Complete Feature Set
All Text File Cmdlets
🔄 Installation & Upgrade
Update MCP Configuration
(Get-Module PowerShell.MCP).ModuleBase{ "mcpServers": { "PowerShell": { "command": "C:\\Path\\To\\PowerShell.MCP\\1.2.5\\bin\\PowerShell.MCP.Proxy.exe" } } }📖 Full Guide: https://github.com/yotsuda/PowerShell.MCP#quick-start
💡 Usage Examples
📊 v1.2.4 vs v1.2.5 Comparison
Full Documentation: https://github.com/yotsuda/PowerShell.MCP
Questions? GitHub Discussions
⚠ Security Notice: Provides complete PowerShell access. Use in trusted environments only.
This discussion was created from the release PowerShell.MCP v1.2.5 - Enhanced Text File Operations.
Beta Was this translation helpful? Give feedback.
All reactions