Taking Control with PowerShell Logic

preview_player
Показать описание
Learn how to enhance your PowerShell by using PowerShell logic controls. See examples of PowerShell if, elseif, conditional tests, loops, and switches. I walk-through each logic control and demo an example. Finish this lesson of with a real world practical example that shows you how to combine PowerShell logic controls together to create powerful results!

Corresponding TechThoughts write-up:

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
00:00 - Intro
00:19 - Getting started with PowerShell logic
00:53 - Conditional If Else Statements
02:29 - Conditional example
04:43 - PowerShell Switch statement
08:06 - For loops
12:37 - ForEach loops
15:23 - While loops
19:50 - Where-Object
22:19 - ForEach-Object
24:09 - Final Example
27:35 - Outro

Learn PowerShell - Episode 6 - Taking Control with PowerShell Logic

Reference PowerShell code examples from this episode:

Check out the complete Learn PowerShell YouTube Playlist:

~

My recommended books for learning PowerShell:
(these affiliate links cost you nothing extra and help support this channel)

If you are able, and found this content valuable, please consider a secure donation in the link below. Your contribution helps offset the costs of producing this PowerShell series. Much appreciated!

Learn PowerShell online free in this operationally focused PowerShell series. These PowerShell tutorials are designed to get you ramped up and using PowerShell quickly. Each episode provides practical PowerShell examples for using PowerShell in the real world. Whether you are a PowerShell beginner or seeking advance PowerShell training, this Learn PowerShell series covers the topics you'll need to be effective with PowerShell!

These videos were recorded on a lot of my older equipment.
My newer videos use the following equipment:
- Mic: Audio-Technica AT2035

#learnPowerShell #PowerShell #PowerShelltraining #PowerShellTutorial
Рекомендации по теме
Комментарии
Автор

prev vids was useful even for a skilled programmer who wants to grok ps quickly. but in this one you explaining how to program. too deep diving into basic stuff

guai
welcome to shbcf.ru