O'Reilly logo

Learn Windows PowerShell in a Month of Lunches by Don Jones

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 23. Debugging techniques

Anytime you’ve typed more than two letters on your keyboard, you have created an opportunity for mistakes to creep in. In the programming world, those mistakes are called bugs. Although using PowerShell isn’t necessarily programming, we PowerShell jockeys use the word bug, too.

Fun story: The word bug, as applied to computers behaving incorrectly, actually came from a real insect (a moth) that got trapped inside Harvard University’s Mark II Aiken Relay Calculator. The moth got stuck in one of the computer’s relays, causing the computer to generate incorrect results. The whole story is told at http://www.jamesshuggins.com/h/tek1/first_computer_bug.htm.

23.1. An easy guide to eliminating bugs

There are two broad ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required