- 
                Notifications
    You must be signed in to change notification settings 
- Fork 218
Open
Labels
Description
Describe the bug
The PowerShell tool in Copilot CLI fails to execute ANY commands, even basic ones. All commands timeout immediately, and session IDs are reported as invalid.
Environment:
- OS: Windows_NT
- Working Directory: C:\Dev\GitHub
- I, as a user, can execute PowerShell commands directly in the terminal successfully
Affected version
0.0.331 Commit: eb0ae04
Steps to reproduce the behavior
- Use any PowerShell command via the Copilot CLI tool with async: false
- Even simple commands like Get-Location or pwd timeout after specified timeout period
- When using async: true, commands timeout with negative time (-0.001 seconds)
- Session IDs become invalid immediately and cannot be read via read_powershel
Expected behavior
- PowerShell commands should execute normally
- Sessions should be created and accessible
- Commands like Get-Location should return instantly
Additional context
Examples Tested:
- Get-Location (timeout: 45s) - Failed
- pwd (timeout: 60s) - Failed
- echo "# Test MD File" > test.md - Failed
- Write-Host "Testing PowerShell" (async) - Failed immediately
Tiberriver256 and doggy8088