Join Matt Hester for an in-depth discussion in this video Using the exercise files, part of Learning PowerShell 5.
- [Voiceover] Now, one of the great things about this course is as I go through the PowerShell examples, you should be able to follow along with me with no problem. Almost all of the commandlets you'll see in this course are non-evasive, they're not really going to do anything, they're just going to output it, and you're going to make it more real for yourself by running some of them. Now I'll also provide for you, after this course, one master file that has all the commandlets that you'll see throughout this course, where you can go back and use some of those examples. Just a couple of notes about that file you'll get. First off, create a test lab.
You want to do this, even though a lot of the commandlets that you'll do are fairly basic, and they're not going to cause you a lot of problems. I always recommend when you're first learning this language run it in a test lab. I've heard too many horror stories where somebody used a wow card, where they weren't supposed to, and they wiped out 500 production servers, so use a test lab first, and also you're going to have modify it for your environments. So my samples are very tailored to my demo environment that I'm going to show you as we go through this course, but the exercise file you're going to get is going to give you all those nice examples that you'll see throughout this course.
I hope you're ready to get rolling and learning PowerShell 5.0.
Matt then dives into PowerShell's functions and What If statements, working with output, and coding in the Integrated Scripting Environment (ISE). The course wraps up with some tips on using PowerShell for both on-premises and cloud deployments involving Office 365 and Azure.
- Identify the purpose of a delimiter.
- Recognize the tools needed to build a command using the ISE.
- Identify the options to use when running Get-Service from a remote computer.
- Recognize the capabilities of four cmdlets.
- Explain how to transfer aliases from a file into PowerShell.
- Determine if a cmdlet will generate an error when executed.