Chapter 9. Errors, exceptions, and script debugging
Error handling | ||
Dealing with errors that terminate execution | ||
Script debugging | ||
Nested prompts and breakpoints | ||
Low-level tracing | ||
The PowerShell event log | ||
Summary |
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 ...
Get Windows PowerShell in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.