PowerShell AI: Building AI Applications with PowerShell by Pearson

PowerShell AI: Building AI Applications with PowerShell by Pearson

15hAdvanced2026-08-03

Authors

Pearson

Pearson

Course details

Are you ready to take your PowerShell skills to the next level by leveraging the power of artificial intelligence? In this course, learn how to harness the capabilities of AI tools like ChatGPT and Ollama to build innovative applications that automate tasks, provide insights, and drive business value. Start by exploring the fundamentals of AI in PowerShell, including why AI is a game-changer for automation and how to get started with the ChatGPT REST API. From there, dive into advanced topics like prompt engineering, structuring AI responses, and managing multi-turn conversations.

With a focus on practical examples and real-world applications, this course is designed to equip you with the skills and knowledge to unlock the full potential of AI in PowerShell and take your automation capabilities to new heights. Whether you're a seasoned PowerShell user or an IT professional looking to stay ahead of the curve, this course can help you leverage the power of AI and drive business success.

Learning objectives
Integrate PowerShell with Cloud-Based and on-premises AI models.
Maintain the privacy for sensitive data by keeping AI workloads local.
Build a variety of AI related projects, ranging from chatbots to system automation tools.
Maintain a long term, searchable log of AI conversations.

Concepts

Introduction

  • PowerShell AI - Introduction

Preparing for This Course

  • Learning objectives
  • Why use AI with PowerShell
  • Installing SQL Server
  • GPU requirements

Accessing OpenAI through PowerShell

  • Learning objectives
  • OpenAI's REST API
  • Prompt engineering
  • Cost optimization strategies
  • Managing conversations

OpenAI Use Cases

  • Learning objectives
  • Acquiring an API key
  • Performing data analytics with OpenAI
  • Using OpenAI to generate reports

Ollama and Local AI Models

  • Learning objectives
  • Introduction to Ollama
  • Understanding Ollama models
  • Setting up Ollama
  • Ollama commands that you need to know
  • Building a basic GUI
  • Working with prompts and responses
  • Creating your own Ollama model
  • Custom model parameters

Using AI for System Performance Monitoring

  • Learning objectives
  • Building the basic GUI
  • Populating the dashboard
  • Compiling a performance history
  • Summarizing the performance data
  • Constructing the AI prompt

Using Ollama for Data Analytics

  • Learning objectives
  • Creating random sales data
  • Using JSON rules to influence data creation
  • Configuring AI to write JSON rules
  • Dynamic AI prompt generation for data analysis
  • Analyzing data with AI

Building a PowerShell Automation Tool

  • Learning objectives
  • Building the GUI
  • Adding an Invoke-Ollama function
  • Creating AI guardrails
  • Building an investigate command feature

Using Ollama as a Document Reference Tool

  • Learning objectives
  • An overview of the project
  • Creating a collection of documents
  • Creating the SQL Server database
  • Ingesting documents into the database
  • Performing a conventional document search
  • Designing an AI prompt
  • Performing an AI-assisted document query

Text-to-Speech and Text-to-Image Generation

  • Learning objectives
  • Setting up a text-to-speech server
  • Building a text-to-speech script
  • How text-to-image generation works
  • Important terms to know
  • An introduction to Hugging Face
  • Preparing the server
  • Building a test script
  • Building a text-to-image tool

Capstone Project - A Full Ollama Chatbot

  • Learning objectives
  • An overview of the project
  • Preparing the database
  • Creating the tab structure
  • Creating the main menu
  • Building the Conversation tab GUI
  • Building the History tab GUI
  • Adding support for fonts and formatting
  • Find and Replace
  • Saving a document
  • Integrating Ollama support
  • Enabling multi-model support
  • Handling multi-turn conversations
  • Clearing the current conversation
  • Storing chat history in the database
  • Viewing a history item
  • Deleting a history item
  • Clearing conversation history
  • Backing up the database
  • Building a chat history search engine

Summary

  • PowerShell AI - Summary
200,000 Toman