Your PowerShell Scripts Are Obsolete
Download and listen anywhere
Download your favorite episodes and enjoy them, wherever you are! Sign up or log in now to access offline listening.
Your PowerShell Scripts Are Obsolete
Description
PowerShell automation breaks the moment real-world IT tickets stop following the happy path. This episode shows Microsoft 365 and Azure administrators how to evolve script libraries into governed autonomous agents...
show moreIn this episode
- 00:00 – Why your PowerShell scripts are becoming a liability
- 03:45 – Where automation hits its ceiling
- 07:16 – The authentication paradox and just-in-time tokens
- 10:37 – Semantic Kernel and Microsoft Graph as reasoning and data layers
- 20:25 – Wrapping PowerShell as Semantic Kernel plugins
- 27:45 – Plan, execute, refine: errors and human approval gates
- 45:05 – Scaling agent fleets with governance and security
- 56:45 – Measuring agents, the roadmap and the competitive advantage
Key takeaways
- Deterministic PowerShell scripts handle execution well but cannot reason about messy tickets, so Semantic Kernel adds a reasoning layer that decides when and in which order to call wrapped cmdlets against Microsoft Graph.
- Autonomous agents need tighter identity boundaries than humans: replace long-lived service principal tokens with just-in-time, task-scoped tokens from a policy engine, managed identities and continuous access evaluation.
- Design single-purpose functions with precise descriptions and structured returns, let agents propose while humans approve high-risk changes, and roll out in phases from a read-only pilot to a measured, governed agent fleet.
Explore more on M365.FM
- Episode page: the full episode with chapters, architecture notes and FAQ on IT agents
- AI agent – the autonomous workers proposed as the next step beyond static PowerShell script libraries
- Microsoft Graph – the single data layer agents query for users, devices, mailboxes, licenses and permissions
- Human in the loop – the model where agents propose high-risk changes and managers approve them in Teams
- Agent loop – the plan, execute and refine cycle that lets agents recover when a step fails
- Related episode: Beyond the Portal: The Strategic Architecture of Microsoft Graph and PowerShell
Follow and rate M365.FM in your podcast app, and join the free M365 community at m365con.net.
Become a supporter of this podcast: https://www.spreaker.com/podcast/m365-fm-microsoft-365-azure-cloud-power-platform-ai--6704921/support.
Information
| Author | Mirko Peters M365, Azure & AI |
| Organization | m365 FM |
| Website | www.m365.fm |
| Tags |
Copyright 2026 - Spreaker Inc. an iHeartMedia Company
Comments