filmov
tv
Learn PowerShell: Episode 8, Operators + If Statements + Scripting Tips

Показать описание
Welcome to the eighth episode in the long-running PowerShell video series. This is nearing the very last episode now, and the bonus episode where we're going to make an entire graphical app.
In this video, we focus on two main things: If Statements and operators!
Operators are not a new concept to us, they've been there the entire time we've been using PowerShell, we just haven't noticed them much yet. In this episode, we're going to look at what operators are, and recap some of the things we already know about them. Once we've recapped that, we're then going to look at new concepts with operators, clarifying their behaviour in certain situations, as well as looking at entirely new operators we haven't covered, or operators we very briefly touched on previously, but haven't looked at in-depth much since then.
We're also going to take a look at "operator precedence", which is a concept you're also already very familiar with, from basic Mathematics, but, again, may not have really noticed before. This is a concept we'll also look at, and we'll see the implications of this and use it to help clarify some ways PowerShell makes using operators easier for us.
Once we've covered the concept of "operator precedence", we're going to move into some new scripting concepts, such as writing comments or indentation. These are things we apply to scripts to make them more readable and maintainable.
And then, we'll move onto "if statements", a very important feature that gives us huge flexibility in our scripts. Watch to find out more!
CHAPTERS:
00:00 Introducing Operators
02:05 Comparing In-Depth
10:20 Boolean Operator Techniques
14:30 Operator Precedence
17:00 Operator vs Collections
18:00 Comments
19:10 The "IDE" experience
22:55 If Statements
25:05 Indentation
26:55 Using If Statements
29:25 Grade Calculator
Thanks for watching my video, before are some general ABMedia links if you are interested:
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.
#powershell #learnpowershell
In this video, we focus on two main things: If Statements and operators!
Operators are not a new concept to us, they've been there the entire time we've been using PowerShell, we just haven't noticed them much yet. In this episode, we're going to look at what operators are, and recap some of the things we already know about them. Once we've recapped that, we're then going to look at new concepts with operators, clarifying their behaviour in certain situations, as well as looking at entirely new operators we haven't covered, or operators we very briefly touched on previously, but haven't looked at in-depth much since then.
We're also going to take a look at "operator precedence", which is a concept you're also already very familiar with, from basic Mathematics, but, again, may not have really noticed before. This is a concept we'll also look at, and we'll see the implications of this and use it to help clarify some ways PowerShell makes using operators easier for us.
Once we've covered the concept of "operator precedence", we're going to move into some new scripting concepts, such as writing comments or indentation. These are things we apply to scripts to make them more readable and maintainable.
And then, we'll move onto "if statements", a very important feature that gives us huge flexibility in our scripts. Watch to find out more!
CHAPTERS:
00:00 Introducing Operators
02:05 Comparing In-Depth
10:20 Boolean Operator Techniques
14:30 Operator Precedence
17:00 Operator vs Collections
18:00 Comments
19:10 The "IDE" experience
22:55 If Statements
25:05 Indentation
26:55 Using If Statements
29:25 Grade Calculator
Thanks for watching my video, before are some general ABMedia links if you are interested:
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.
#powershell #learnpowershell
Комментарии