DiscoverProgramming By StealthPBS Tidbit 13 — PowerShell Tames Monty
PBS Tidbit 13 — PowerShell Tames Monty

PBS Tidbit 13 — PowerShell Tames Monty

Update: 2025-07-20
Share

Description

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:
Comments 
loading
00:00
00:00
1.0x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

PBS Tidbit 13 — PowerShell Tames Monty

PBS Tidbit 13 — PowerShell Tames Monty