Ask-GPT

1.0.2

Ask-GPT: Interactive OpenAI GPT integration for PowerShell. EXAMPLES: Ask-GPT "Explain PowerShell arrays"; "What is 2+2?" | Ask-GPT; Ask-GPT -Model gpt-4 "Fix this code". FEATURES: Streaming responses, conversation history, all GPT models, pipeline support, temperature control, ANSI formatting. SETUP: Set $env:OPENAI_API_KEY. Perfect for automation, scripting, code as
Ask-GPT: Interactive OpenAI GPT integration for PowerShell. EXAMPLES: Ask-GPT "Explain PowerShell arrays"; "What is 2+2?" | Ask-GPT; Ask-GPT -Model gpt-4 "Fix this code". FEATURES: Streaming responses, conversation history, all GPT models, pipeline support, temperature control, ANSI formatting. SETUP: Set $env:OPENAI_API_KEY. Perfect for automation, scripting, code assistance, and interactive AI workflows in PowerShell 7.0+.
Show more

Minimum PowerShell version

7.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Ask-GPT -RequiredVersion 1.0.2

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Ask-GPT -Version 1.0.2

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

Owners

Copyright

(c) 2025 stimpy77. All rights reserved.

Package Details

Author(s)

  • stimpy77

Tags

OpenAI GPT AI Chat API PowerShell Ask-GPT AskGPT ChatGPT CLI CommandLine

Functions

Ask-GPT

Dependencies

This module has no dependencies.

Release Notes

Version 1.0.2: Enhanced module description with comprehensive feature overview and usage examples for better PowerShell Gallery visibility. USAGE: Ask-GPT "your question" or "input" | gpt. SETUP: Set OPENAI_API_KEY environment variable. FEATURES: Streaming responses, conversation history, all GPT models, pipeline support, temperature control.

FileList

Version History

Version Downloads Last updated
1.0.3 8 7/5/2025
1.0.2 (current version) 4 7/5/2025
1.0.1 5 7/5/2025
1.0.0 7 6/30/2025