Quantcast

Start with 7 free days of training.

Gain instant access to our entire IT training library, free for your first week.
Train anytime on your desktop, tablet, or mobile devices.

This course will be retired in 339 days. If you have questions, please contact us.

This PowerShell video training with Don Jones covers the latest version of Microsoft’s task automation framework, including using the help system, formatting, scripting, and more...
This PowerShell video training with Don Jones covers the latest version of Microsoft’s task automation framework, including using the help system, formatting, scripting, and more

Recommended skills:
  • Experience using previous versions of PowerShell

Recommended equipment:
  • Microsoft PowerShell version 3

Related certifications:
  • Not applicable

Related job functions:
  • IT professionals


Ready to learn Windows PowerShell? Learn from the best: Microsoft MVP award recipient Don Jones, author of "Learn Windows PowerShell 3 in a Month of Lunches," presents a video training course that will help you master PowerShell's foundations with absolutely zero prior experience.

Using a friendly, approachable style and a carefully planned outline, Don introduces you to PowerShell's ins and outs, one piece at a time. With a focus on teaching you how to use PowerShell to actually teach yourself, you'll become "immediately effective" in just a few short lessons, and start exploring some of PowerShell's high-end capabilities. Full of clear demonstrations and advice for avoiding the most common pitfalls and "gotchas," this is the perfect way to learn Microsoft's new command-line and scripting technology.
 show less
1. Introduction (6 min)
2. Meet PowerShell (21 min)
3. Using the Help System (28 min)
4. Running Commands (29 min)
5. Working with Providers (18 min)
6. The Pipeline: Connecting Commands (18 min)
7. Adding Commands (20 min)
8. Objects: Just Data by Another Name (21 min)
9. The Pipeline, Deeper (29 min)
10. Formatting, and Why it's Done on the Right (21 min)
11. Filtering and Comparisons (13 min)
12. Remote Control: One on One, and One to Many (20 min)
13. Using Windows Management Instrumentation (17 min)
14. Multitasking with Background Jobs (20 min)
15. Working with Bunches of Objects, One at a Time (18 min)
16. Security Alert (21 min)
17. Variables: A Place to Store Your Stuff (18 min)
18. Input and Output (11 min)
19. Sessions: Remote Control with Less Work (16 min)
20. You Call This Scripting? (22 min)
21. Improving Your Parameterized Script (16 min)
22. Additional Tips, Tricks, and Techniques (20 min)

Introduction

00:00:00

Windows PowerShell Foundations. Hi, I'm Don Jones. And in this series, I'm going to teach you how to use Windows PowerShell, even if you have got no experience whatsoever in command line shells, or scripting, or programming. You don't need any of it.

00:00:16

You know the saying, if you give a man a fish he'll eat for a day, but if you teach a man to fish, he'll depopulate an entire ocean ecosystem in just two generations? Well, we're going to go for the latter approach. I'm not only going to teach you how to use PowerShell, I'm going to teach you how to use it to teach yourself how to accomplish real administrative tasks in PowerShell.

00:00:37

Let me show you how we're going to do it. We'll start with this introduction, where I'm also going to give you some information on what kind of lab environment you might want to set up, so that you can kind of follow along and practice the things that you're learning.

00:00:49

Then we'll jump right in, and I'll let you meet PowerShell, show you how to use the help system, get right into actually running commands, show you how to worked with providers. And providers are something that a lot of people overlook when they're learning PowerShell, and I'm not going to let that happen to you.

00:01:06

Then we will start diving into the PowerShell pipeline, part of what makes it such a unique shell and management tool. Show you how to add some commands, get some terminology straight with objects, dive deeper into the pipeline, once we've kind of gotten that under your belt.

00:01:22

Talk about formatting your output, make it nice and pretty, and how to filter information out of the pipeline, so that your results only contain the exact data that you need them to contain. Then it'll be on to remote control, and the various ways to use those technologies, using Windows Management Instrumentation.

00:01:42

We'll talk about getting partial multitasking with background jobs, and focus on working with bunches of things in a single operation with working with bunches of objects. Then we're going to start tiptoeing into the world of actual scripting, sort of lightweight programming.

00:01:58

And before we do that, we need to cover a few security concerns. We'll also talk about variables, how to display output and retrieve input from users. We'll kind of circle back to remote control, and talk about remote control sessions. That's going to utilize variables, which is why we kind of need to do it in this order.

00:02:17

And then if you picked this up thinking it was going to be a scripting course, think again, because we're mainly going to be running commands from the command line. But once we've perfected those commands, you call this scripting? We're going to actually re-use those commands, and make some tools that could be distributed to our colleagues.

00:02:34

And then we'll improve on those a little bit, add some maturity, and some neat little things to them. And then we'll wrap up with just some additional tips, tricks, and random techniques. Now, I suggest you set up a little lab environment for yourself, so that as you're learning new things, you can practice them.

00:02:50

And as we go, I'll try and give you some ideas for things you might want to practice on your own. As far as what you need in that lab, 100% of what you're going to learn can be accomplished on Windows 8, or Windows Server 2012. If you happen to have access to Windows Server 2012, set it up as a domain controller, if possible.

00:03:09

Now, I'm assuming you already know how to do that. If you don't, don't sweat it. Or you can hop on Google, or Bing, and find out a pretty quick set of tutorials to get a domain controller up and running. Now, if you don't have those latest versions of Windows, about 90% of what you're going to see can also be done as is in Windows Server 2008 R2 after you've installed PowerShell version three, which is a free download from Microsoft.com.

00:03:36

If you don't even have that, and all you've got to play with is a Windows 7 computer, that's fine. About 80% of the examples I'm going to show will work on Windows 7 once you've installed Powershell version three, which again, is a free download from Microsoft.com.

00:03:52

100% of what I'm going to show you is applicable to all of these, it's just some of the examples I'm going to show you to illustrate the different techniques rely on features that are only in the newer versions of Windows. So that's why you kind of get a declining thing.

00:04:06

Now, if you're on XP, stop right here. We are going to be talking about Powershell version three, and it doesn't run on XP, so you are going to have to get something that was made within, I don't know, the last decade. Bring things up to something new, so that you can play along.

00:04:21

Now, if you want, you can check out a company called CloudShare.com. They make a pretty inexpensive, cloud based virtualization environment where they'll let you spin up virtual machines in whatever version of Windows you want to, so that you can get a cloud based virtual environment to play with.

00:04:38

They're not available in all countries, and there is a fee associated with it if you use it past the trial period, but it's an option for you. Or, if you've got access to a hyper-v server, just download a Microsoft VHD test drive image. That's a fully installed, ready to go Windows operating system that you can play with for as long as you want to.

00:04:59

You just need to be able to drop it onto a hyper-v server, which you can also get free of charge from Microsoft, if you need to. Just a few online resources that I want you to keep in mind as you kind of go throughout this series. If you get stuck any time in PowerShell, not just with this, but if you get stuck any time, there's a couple of great websites you can go to to get your questions answered.

00:05:19

PowerShellCommunity.org and PowerShell.com, I recommend them both. If you're looking for some more reading, you'd like to take your PowerShell skills a little bit further, check out PowerShellBooks.com. It's a great and growing kind of curated book review, book recommendation site.

00:05:35

The next one's real important. If you'd like some formal, hands on labs to go along with the Nuggets that you're about to watch, go to MoreLunches.com. Click on the cover title, Learn Windows PowerShell 3 In A Month Of Lunches, and in downloads section, you'll find a lab guide, sample lab answers.

00:05:55

You'll find a bunch of other free downloadable stuff that just kind of helps reinforce some of the things you'll be learning throughout these Nuggets. It's all free. You don't have to register for any of it. It's all there just for the taking. And finally, if you'd like to connect with me, looking up on Twitter, @concentrateddon.

00:06:11

With that said, it is time to jump in and do some PowerShell. Let's go.

Meet PowerShell

Using the Help System

Running Commands

Working with Providers

The Pipeline: Connecting Commands

Adding Commands

Objects: Just Data by Another Name

The Pipeline, Deeper

Formatting, and Why it's Done on the Right

Filtering and Comparisons

Remote Control: One on One, and One to Many

Using Windows Management Instrumentation

Multitasking with Background Jobs

Working with Bunches of Objects, One at a Time

Security Alert

Variables: A Place to Store Your Stuff

Input and Output

Sessions: Remote Control with Less Work

You Call This Scripting?

Improving Your Parameterized Script

Additional Tips, Tricks, and Techniques

Please help us improve by sharing your feedback on training courses and videos. For customer service questions, please contact our support team. The views expressed in comments reflect those of the author and not of CBT Nuggets. We reserve the right to remove comments that do not adhere to our community standards.

comments powered by Disqus
Intermediate 7 hrs 22 videos

COURSE RATING

Training Features


Practice Exams
These practice tests help you review your knowledge and prepare you for exams.

Virtual Lab
Use a virtual environment to reinforce what you are learning and get hands-on experience.

Offline Training
Our iOS and Android mobile apps offer the ability to download videos and train anytime, anywhere offline.

Accountability Coaching
Develop and maintain a study plan with one-to-one assistance from coaches.

Supplemental Files
Files/materials that supplement the video training.

Speed Control
Play videos at a faster or slower pace.

Bookmarks
Included in this course
Pick up where you left off watching a video.

Notes
Included in this course
Jot down information to refer back to at a later time.

Closed Captions
Follow what the trainers are saying with ease.