PowerShell for Security with GenAI: Tips & Best Practices

Main Speaker

Learning Tracks

Course ID

42885

Date

23-06-2026

Time

Daily seminar
9:00-16:30

Location

Daniel Hotel, 60 Ramat Yam st. Herzliya

Overview

This seminar focuses on the correct and secure use of Generative AI when working with PowerShell for automation, administration and security tasks. It applies to Microsoft environments, both on-premises and in the cloud.

During the seminar, participants learn how to use GenAI tools to write, debug and optimize PowerShell scripts.

The seminar also addresses the limitations, risks and common AI mistakes related to syntax, permissions, performance and security.

Who Should Attend

  • IT and Infrastructure professionals
  • DevOps and SecOps engineers
  • Security professionals working in Microsoft environments
  • PowerShell users who want to improve script quality, efficiency, and security using GenAI

Prerequisites

Basic familiarity with PowerShell and Microsoft environments (on-premises and/or cloud).

Course Contents

  • Overview of Generative AI and its application in scripting and automation
  • The role of AI in IT automation: benefits, limitations, and risks
  • PowerShell foundations refresher: syntax, remoting, and security basics
  • Prompt engineering for PowerShell, including iterative refinement of AI-generated code
  • Common weaknesses of GenAI when working with PowerShell
  • High-risk areas where AI is prone to scripting mistakes
  • Validating AI-generated PowerShell output
  • Optimizing AI-generated scripts, including performance benchmarking
  • Secure scripting with AI, including compliance and security checks before deployment
  • Real-world use cases, including:
    • Active Directory accounts
    • Logon sessions
    • Entra ID
    • Operational and security reports
  • Human + AI workflow: dividing responsibilities between AI-generated code and human review
  • End-to-end example automation flow:
    • Generating an initial script using AI
    • Debugging, optimizing, and securing the script
    • Reviewing before/after results and lessons learned
 

The conference starts in

Days
Hours
Minutes
Seconds