Chapter 19. Handling errors
After completing this chapter, you will be able to
Handle missing parameters in scripts.
Limit the choices available to users of your scripts.
Handle missing rights and permissions in scripts.
Handle missing WMI providers in scripts.
Use Try...Catch...Finally to catch single and multiple errors in scripts.
When it comes ...
Get Windows PowerShell Step by Step, Third Edition 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.