filmov
tv
Learn PowerShell: Episode 10, Counting + Loop Control + Functions

Показать описание
Welcome to the tenth episode of the PowerShell tutorial series! This is the series' second-to-last episode, and it's been a long time coming, but here we are!
In this episode, I cover how to count from one number to another with loops, the special keywords PowerShell provides to let you control loops from within them, and functions!
There are many ways of counting from one number to another, all of which I go through in this video: Through while, through foreach and through for. I also cover some of the deeper conventions that underline counting with loops and such.
The next thing I cover in this video is how to control loops from within them, through the keywords "Break" and "Continue". These are really powerful keywords that help you write much neater code.
And speaking of useful structures: One of the most powerful features of any programming language, functions, is introduced fully in this video, from why you'd want them, to how to make them and put parameters and return values on them.
Lots to cover, so sit back and enjoy!
CHAPTERS:
0:00 Counting
12:30 foreach structure
14:55 Loop Control
17:10 Using Functions
22:05 Why Use Functions
25:00 Functions in Practice
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 ABCo over the years.
A huge thank you goes to @ndumiphotos (on Instagram) for the graphics used in the intro.
#powershell #powershellscripting #learnpowershell
In this episode, I cover how to count from one number to another with loops, the special keywords PowerShell provides to let you control loops from within them, and functions!
There are many ways of counting from one number to another, all of which I go through in this video: Through while, through foreach and through for. I also cover some of the deeper conventions that underline counting with loops and such.
The next thing I cover in this video is how to control loops from within them, through the keywords "Break" and "Continue". These are really powerful keywords that help you write much neater code.
And speaking of useful structures: One of the most powerful features of any programming language, functions, is introduced fully in this video, from why you'd want them, to how to make them and put parameters and return values on them.
Lots to cover, so sit back and enjoy!
CHAPTERS:
0:00 Counting
12:30 foreach structure
14:55 Loop Control
17:10 Using Functions
22:05 Why Use Functions
25:00 Functions in Practice
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 ABCo over the years.
A huge thank you goes to @ndumiphotos (on Instagram) for the graphics used in the intro.
#powershell #powershellscripting #learnpowershell
Комментарии