Most of our scripting and administration is going to revolve around running cmdlets and chaining them. In some situations, we run a cmdlet expecting it to work a certain way, only to find out that the cmdlet threw an error, or worse, did something undesirable.
The key to getting cmdlets to do what we want them to do is to eliminate ambiguity. In this recipe, we will learn to construct commands contextually and effectively.