So let's wrap up our time here together in this course.
Some things I want you to take away, think about,
and put on your to‑do list, first of all,
you have to understand and recognize and treat PowerShell as a foreign language.
Learning PowerShell is no different than having to learn a
language like Chinese or Hungarian or Swedish.
You have to practice it every day, you have to expose yourself to it,
you need to read about it, you need to use it.
That's the only way that you will be able to master PowerShell.
I have been using, or if you will, speaking PowerShell since 2006,
for almost 15 years as I record this course.
So for me, I don't even have to think about it anymore.
If you happen to speak a foreign language,
think about it,
think about how it was when you first started learning a
language or even a programming language,
like maybe you learned VBScript or Python or Ruby,
remember how much you struggled to get started.
But once you get over that initial hurdle and start
seeing how things go together, a lot of it begins to click,
and then you realize, oh, I got this, I understand,
I can now speak this language, and because I can speak it,
I can get a lot of my work done.
Part of the PowerShell paradigm is objects and objects in the pipeline.
Whenever you're working in PowerShell,
always realize that what you're working with are objects.
You're running a command, it's writing object to the pipeline.
You're selecting properties of an object,
you're grouping objects, you're sorting,
you're filtering with Where object, you're always working with objects.
And as I showed you in some of the demonstrations,
you can also create your own objects.
You don't have to rely on PowerShell to give you what you need,
you can tell PowerShell, this is what I need.
Going forward, there's more to PowerShell,
of course,
another big step for you to learn is all about
PowerShell's remoting and remote management.
So these would be things like using SSH,
and remote sessions, and using the cim cmdlets.
These are really key components because PowerShell is a management engine,
and so you want to be able to manage, not only one server,
but maybe 1000 servers, not 1 mailbox, but 500 mailboxes.
You always want to be thinking,
how can I use PowerShell to do more and to do lots of things all at once?
And all of this is really going to lay the foundation for PowerShell scripting.
The more that you run commands in the console and
understand how the console works, and how commands work,
and how the pipeline works,
and a lot of things that we've covered in this course,
all of that will make you a better PowerShell scripter.
If you can't run a command from the PowerShell prompt,
you will never be able to create a script or function around it,
so you have to practice and learn the PowerShell language and understand the
paradigm in order for you to be a great PowerShell scripter.
And then finally, again, I'm going to urge you to read,
read blogs, read social media tweets, go to conferences,
expose yourself to PowerShell and to all the things that it can do,
imagine what PowerShell is doing.
I have found that people who can visualize what PowerShell is
doing in the pipeline have an easier time in writing PowerShell
commands or trying to figure out, hey, how come this doesn't work?
Because they can visualize and imagine what PowerShell is doing.
So read about something, imagine, okay, I need to do this particular task,
how would I do it?
Then try it out.
If it doesn't work, no big deal.
Read the error message, or the warning, or whatever you get back,
repeat, revise.
The more that you do this, the easier it will become.
And then you'll wonder, why did I wait so long to learn PowerShell?
I hear that all the time from people who they get over that hurdle and go,
oh, I get it now.
This makes sense to me, and I want you to get to that point as well.
Thank you so much for spending some time watching this course.
If you go to a conference and I'm speaking that you'll come up
and let me know what you thought about it or any of the material
in the library here at Pluralsight.
Keep plugging at it.
It will get easier.
And I hopefully will catch you in another course later on down the road. Thanks for watching.