Book Image

PowerShell Troubleshooting Guide

By : Mike Shepard
Book Image

PowerShell Troubleshooting Guide

By: Mike Shepard

Overview of this book

Table of Contents (15 chapters)
PowerShell Troubleshooting Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


This chapter has explored some really important PowerShell features in depth. We spent a lot of time talking about advanced functions, parameters, and the pipeline. The important Set-StrictMode cmdlet was introduced to show how to restrict the PowerShell language slightly in ways that will help us script more carefully. Hopefully, by employing some of these practices, you will be to write more powerful, flexible scripts and avoid some common errors.

In the next chapter, we will turn our thoughts to the environment that scripts run in. We will look at several ways to determine the characteristics of the environment in order to eliminate errors that lie outside of our scripts.