It was never so easy to get YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

Learn PowerShell: Episode 1 The Basics

Follow
ABMedia

FUN FACT: By the end of this series, you'll be able to make your own graphical interface right from PowerShell!

Download PowerShell ►https://github.com/powershell/powershell

This is the start of a video series that will teach you everything you could need to know about PowerShell.

This video will introduce the basics of PowerShell and the fundamental ideas it is built upon, as well as some important commands that allow you to filter, sort and process information easily. Everything will be broken down so it's easy to understand and get going with PowerShell very quickly.

I find there are quite a lot of videos out there that focus on just the commands, but never on PowerShell itself, they give you a list of commands and say that you've learnt PowerShell, but with only knowledge of commands you'll find that you get stuck when it comes to doing more advanced things and you don't truly understand the intricacies of what's really going on when you run commands, what exactly different things are, how they're structured and so much more is missed out. You need to be very familiar with your environment and what's going on around you to be able to make the most of it, and this series makes sure you are.

Because this video series does both, mostly focusing on really teaching you PowerShell itself and how the whole system works like so many other video series fail to do, but while also introducing you to commands along the way as we go breaking apart PowerShell's system efficiently. And very soon in the series, you'll be able to find commands completely on your own without even searching anything up, allowing you to become very independent as you take advantage of the flexibility and capabilities PowerShell has.

As mentioned at the beginning of this description, by the end of this series you'll be able to make your own graphical app with buttons and the like right from PowerShell! Thanks to the deep knowledge you'll gain about how PowerShell really works and how the whole object system is structured inside. We'll go through creating an app as the final goal in the series, and really make the most out of what we've learnt to make some simple apps straight from the command line or a script file.

The way the series is structured starts here, at the introduction. This helps introduce the key central idea of objects (something that we will slowly dig deeper and deeper into each episode), help get you going with commands straight away, and we'll start doing some simple tasks to get using PowerShell to do things immediately. The next video takes yet another general look at PowerShell, teaching you how to discover your own commands and how PowerShell is structured inside and much more. From there we start to take a look at more specialized topics, homing in on objects, being the vastest and central thing of PowerShell. Learn all about objects and you've learnt PowerShell, and that's exactly what this series will do!

The video starts with the fundamental idea of objects that PowerShell is built upon. This idea is continually used throughout this series as, as will become clearer soon, everything ties into the object system and its capabilities.

This video introduces four very important commands that are used to filter, sort and select objects such that you can work with any set of objects and immediately extract useful and actionable data from it. It also explains how these commands function, and what the "$_" syntax is and how it gets used by these commands to allow their functionality.

Out of these four commands, the command "ForEach" is particularly torn apart, showing how it often gets used for two separate capabilities and how it can be used alongside "Measure" to get very useful information about a given set of objects.

Two examples that are explored in this video are getting all the processes that have CPU time above 20, as well as getting all of the processes with an ID above 4000 and calculated the average CPU time across them.

For anyone experienced with older ABMedia videos, this video also has a brand new intro :)

Chapters:

0:00 Getting Started
1:58 Objects
4:58 Pipeline
7:20 Measure
9:20 Where
14:48 Sort
17:48 ForEach
23:16 Putting It Together

Thanks for watching my video, before are some general ABMedia links if you are interested:

Website ► https://abco.live/
Discord ► https://abco.live/discord

The Discord server is a place to chat with the creator of this video, as well as anyone who contributed to its development and has helped support ABWorld over the years.

A huge thank you goes to @ndumiphotos (on Instagram) for the graphics used in the intro.

#learnpowershell #powershell #programming

posted by Joptemovieti9