Learn PowerShell: Episode 5, Parameters + C# Descriptions + Overloads
Channel: ABMedia
Date: 2021-07-24

We're getting to the final episode of the series where we make an entire graphical app with buttons and everything right from PowerShell! 

This video is essentially part 2 of the last one and we’re getting closer and closer to having really mastered the whole object system in PowerShell.

Extra Task:

I lied, there is no extra task! All the "physical stuff" of creating tools has been moved to the later episodes, so stick around for that.

The video starts with a recap of the last video, which is important as it is essentially part 2 of the last video, after all. 

In this video, we're going to take a look at calling methods with parameters, which is something that was missed out from the last episode. We'll learn this by taking a look at some example methods that require parameters to call. After this, we'll extend our new knowledge of how to call methods with parameters even further by then looking at how to call methods that have multiple parameters, and any info that's required to understand that.

Once we've gone over parameters and everything you need to know about them we'll then move onto the next topic, which is looking at the formal way of describing both methods and properties in PowerShell. This formal written form is used in some places around PowerShell. And in this video, I proceeded to show you exactly one of these places, in a very convenient command called "Get-Member". And how those "definitions" (as they're called) can be used to help you discover properties and methods and their behaviours even easier.

After I cover this, I then move onto "overloads". What "overloads" are and such and how you can get them, as well as using an error message to further my explanation of what overloads are and how they behave.

There's all of that, and so much more right here to be seen in this episode, so enjoy!

Chapters:

0:00 Calling with Parameters
8:53 Formal Descriptions
13:32 Viewing Members
16:33 Overloads
18:26 How "Where" Works
21:14 Experimenting with Types

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 ABCo over the years.

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

#learnpowershell #powershell