Ask-GPT: Interactive OpenAI GPT integration for PowerShell`n`nEXAMPLES:`n Ask-GPT "Explain PowerShell arrays"`n "What is 2+2?" | Ask-GPT`n Ask-GPT -Model gpt-4 "Fix this code"`n`nFEATURES:`n • Streaming responses to console`n • Conversation history management`n • All GPT models (GPT-5, GPT-4, GPT-3.5-turbo)`n • Pipeline support for PowerShell workflows`n • Tem
Ask-GPT: Interactive OpenAI GPT integration for PowerShell`n`nEXAMPLES:`n Ask-GPT "Explain PowerShell arrays"`n "What is 2+2?" | Ask-GPT`n Ask-GPT -Model gpt-4 "Fix this code"`n`nFEATURES:`n • Streaming responses to console`n • Conversation history management`n • All GPT models (GPT-5, GPT-4, GPT-3.5-turbo)`n • Pipeline support for PowerShell workflows`n • Temperature control and ANSI formatting`n`nSETUP:`n Set-Item env:OPENAI_API_KEY "your-api-key"`n`nPerfect for automation, scripting, code assistance, and interactive AI workflows.
Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info
Install-PSResource -Name Ask-GPT -Version 1.0.6
You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More
Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More
Version 1.0.6: Exclude codex models from auto-selection - Exclude codex models (e.g., gpt-5-codex) from automatic model selection - Enhanced module description with examples and features for better discoverability - Complete CHANGELOG documentation for versions 1.0.2 through 1.0.5
Version 1.0.5: Error handling fix and GPT-5 support - Fixed GPT-5 compatibility: Handle temperature restrictions (GPT-5 only supports default temperature) - Fixed GPT-5 streaming: Auto-fallback to non-streaming for unverified organizations - Improved error handling with detailed API error messages