This article presents a PowerShell script leveraging the Azure OpenAI API, enabling you to execute PowerShell commands using natural language. A key benefit compared to comparable AI tools like ShellGPT is the ability to customize the script.
In this post, I introduce an AI-powered Azure Function that connects to the Azure OpenAI API. This Function allows you to execute queries in natural language to fetch Azure resource information without requiring a deep knowledge of the Azure Resource Graph Query Language (KQL).