Summary
Some errors in PowerShell come up again and again, and being able to spot and identify such errors can reduce the amount of time spent attempting to isolate a problem. Several common problems were introduced based on real-world bugs.
Not every bug can be attributed to a common error, and sometimes a more extensive investigation is required. PowerShell includes a debugger that can be used from either the command line or an editor to isolate bugs.
Visual Studio is a PowerShell editor that simplifies using the PowerShell debugger. It makes it easier for a developer to use line-based debugging.
This chapter brings this book to a close. PowerShell is full of rabbit holes to dive down and explore, more than is possible to include in this book.
Perhaps one of the most prominent features of PowerShell is consistency. Each command, each module, is presented consistently, and each has help immediately available or downloadable using Update-Help
.
The move to .NET...