Intro to Telemetry: How to use App Insights in PowerShell
summary
Shows how to add telemetry to PowerShell using Application Insights and the Microsoft.ApplicationInsights .NET SDK, or via REST or the PSAppInsights module, and how to create App Insights and a Log Analytics workspace from the portal or PowerShell. Demonstrates a real Milestone PS Tools module that reports unique users, sessions, command usage and camera-count buckets, feeds a GitHub Action and website, keeps costs under <$20/mo, and records 1,000 users in 55 countries with ~69% one‑week retention.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:55Telemetry in PowerShell
- 8:15Milestone PS Tools use case
- 10:22Setup Application Insights
- 16:16Send data to Application Insights
- 21:20Telemetry data collection
- 26:56User privacy and opt-out
- 30:32Query telemetry with KQL
- 32:41Create Application Insights
- 38:27Demo telemetry module
- 47:22Query telemetry with PowerShell
- 51:55View telemetry in Azure
- 54:47Organize telemetry in code
- 1:00:04Application Insights in PS7
- 1:07:36PSAppInsights module
- 1:15:12Summary
related talks
34mPowerShell Error and Event Collection at Scale
52mApplication Insights: The Tool You Never Knew You Needed
01h 00mDon't Fly Blind - Implementing Effective Application Instrumentation
06mon their Application Insights tools
52mMonitoring and alerting like a pro with Azure Monitor/Application Insights
01h 01mLogging, tracing and metrics: instrumentation in .NET and Azure
26mImproving fault detection & real time detailed analytics with Telemetry
33mProfile & Monitor Web Apps with Azure Application Insights
