PBS Tidbit 13 — PowerShell Tames Monty

PBS Tidbit 13 — PowerShell Tames Monty

From Programming By Stealth by Bart Busschots & Allison Sheridan

July 20, 2025 · 55 min

About this episode

Bart explores the Monty Hall Problem using PowerShell to create a simulation.

Bart had an itch to scratch, and he decided to scratch it with PowerShell. You'll remember that he gave us a teaser Tidbit seven months ago in Tidbit 11, and we still haven't started learning PowerShell so this one is yet another teaser. The itch he had was trying to understand the "Monty Hall Problem" [en.wikipedia.org/...](https://en.wikipedia.org/wiki/Monty_Hall_problem), and by writing a script to simulate a thousand rounds of the game, he was able to finally understand the solution. It is great fun hearing Bart describe how he spent the first few days of his annual leave programming ... because it was fun! You can find Bart's fabulous tutorial shownotes and the audio podcast at pbs.bartificer.net . Read an unedited, auto-generated transcript with chapter marks: PBS_2025_07_19 Join our Slack at podfeet.com/slack and check out the Programming By Stealth channel under #pbs. Support Bart by going to lets-talk.ie and pushing one of the big blue support buttons. Referral Links: Setapp - 1 month free for you and me Parallels Toolbox - 3 months free for you and me Learn through MacSparky Field Guides - 15% off for you and me Backblaze - One free month for me and you Eufy - $40 for…

People in this episode

Hosts: Bart Busschots, Allison Sheridan

Topics covered

  • PowerShell
  • Monty Hall Problem
  • programming
  • simulation
  • tutorial

Keywords

  • PowerShell
  • Monty Hall Problem
  • simulation
  • programming
  • tutorial

Sponsors

Setapp, Parallels Toolbox, MacSparky Field Guides, Backblaze, Eufy, PIA VPN, CleanShot X

Mentioned in this episode

Organizations: PBS

Books & works: Monty Hall Problem

More episodes of Programming By Stealth

Explore listener stats, chart rankings, contacts and more on the Programming By Stealth podcast page.