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

preview_player
Показать описание
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
Рекомендации по теме
Комментарии
Автор

Thanks a lot for this video's I really like the way you explain things !

mostafamohamed-tnge
Автор

Your tutorials are really great, I appreciate how you "deconstruct" everything and explain each part before "assembling" it again. You make a lot more sense than any of the other tutors I have found on YT :-)

stianiversen
Автор

Awesome tutorials! Thank you, Man! Waiting for new episodes)

karyazin
Автор

This is still the best PowerShell breakdown on YT to date. I blasted you on PowerShell reddit.

This info plus learn PowerShell in a months lunches edition 4 will fast track you right away.

brockfab
Автор

I have watched a couple series on powershell that say for beginners but seem hard to follow. Your series has been great and I look forward to the next episode.

Bigfootboys
Автор

I really like this series. Keep it up. 👍

Rollotollo
Автор

Thanks for the Help. Your Tutorials have been of great Help

fahadherculean
Автор

I recently completed your third PS video. I have worked in IT for 32 years and have been able to skip around learning PS until now, but while some say 'better late than never' meh, not so much working in IT. There are so many people teaching PS on YouTube but your videos are clicking with me. I can't identify why but they are. By any chance are you available to hire for one on one lessons for training on specific things I am trying to do in PowerShell?

alllivessplatter
Автор

I am intrigued by this tutorial. I'm motivated to figure out how to repeat the question if the answer is neither yes nor no... Any hints?

stevensmothers
Автор

Video shows "Identation" instead of "Indentation"...

stevensmothers