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. All Operators ► https://docs.microsoft.com/en-us/powe... All Wildcards ► https://docs.microsoft.com/en-us/powe... Operator Precedence ►https://docs.microsoft.com/en-us/powe... 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: 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. #powershell #learnpowershell

Learn PowerShell: Episode 9, Debugging + Select + Looping

Learn PowerShell: Episode 10, Counting + Loop Control + Functions
![Windows PowerShell [04] Variables, Types & PSDrives](https://i.ytimg.com/vi/Mgn9uZtgEpo/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLCnoENDddyYp3X_nz2LFkDeBHzFSQ)
Windows PowerShell [04] Variables, Types & PSDrives

Learn PowerShell: Episode 6, Primitives + Important Types + new

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

Learn PowerShell: Episode 7, Scripting + HashTables + Static

Learn PowerShell: Episode 11 FINALE, Parametered Scripts + Scoping + Modules

PowerShell Master Class - Connecting Commands Together

Learn PowerShell: Episode 5, Parameters + C# Descriptions + Overloads

Learn PowerShell: Episode 1, The Basics

PowerShell 7 Tutorials for Beginners #10 : Error Handling (Try Catch Finally)

Forget Zune. Forget Vista. Copilot Is Microsoft's Biggest Failure

Learn PowerShell in Less Than 2 Hours

Learn PowerShell: Episode 3, Variables + NoteProperties + CSV Files

Top 50 FUNNIEST Crashes from Red Bull Soapbox Race

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

Learn PowerShell: Episode 4, Types + Methods + Casting

Learn PowerShell Automation in Less than 1 Hour

