AIShell Module
AIShell 模块将 PowerShell 与 AIShell 集成。 此集成允许在 PowerShell 和 AIShell 之间共享查询、错误和结果。
AIShell Cmdlet
| Cmdlet | 说明 |
|---|---|
| Invoke-AICommand |
Used by an MCP in AI Shell to invoke a command in the connected PowerShell session. |
| Invoke-AIShell |
Sends a query to the connected AIShell window. Results are shown in the AIShell window. |
| Resolve-Error |
Sends the last error in the current session for resolution in the connected AIShell window. |
| Start-AIShell |
Starts an AIShell session in a split pane window of Windows Terminal and iTerm2 and connects a communication channel to the PowerShell session that started it. |