Chapter 9. Errors, exceptions, and script debugging
Dealing with errors that terminate execution
Nested prompts and breakpoints
The PowerShell event log
Progress, far from consisting in change, depends on retentiveness. Those who cannot remember the past are condemned to repeat it.
|--George Santayana, The Life of Reason|
Big Julie: I had the numbers taken off for luck, but I remember where the spots formerly were.
|--Guys and Dolls, words and music by Frank Loesser|
It’s important to keep in mind that PowerShell is not “just” a shell or scripting language. Its primary purpose is to be an automation tool for managing Microsoft Windows. And when you’re depending ...