Learn PowerShell: Episode 7, Scripting + HashTables + Static

preview_player
Показать описание
This is the seventh episode in the PowerShell video series, where at the end we make an entire graphical app! This episode focuses on two things: Firstly, filling in quite a few gaps we've left throughout the series, and secondly, we're finally going to make our first PowerShell script!

Scripting is an extremely important part of PowerShell, and perhaps one of the most useful tools for any command line, in this episode we're going to make two scripts from scratch, to do some simple automated tasks for us and simplify our workload.

We're also going to take a look at two things that I've kept a mystery throughout the series. The first one being something we encountered all the way back in Episode 3, and the second one being something we encountered in the last episode.

The Episode 3 one is the "@{ }" syntax we saw on the command "Add-Member", which is what's known as a hash table, which is a type of collection just like arrays.

While Episode 6 had the "::" syntax, which is to do with "static members", a new type of members we look at in this episode.

Chapters:

0:00 Creating Scripts
3:30 First Script
11:10 Static Members
15:35 HashTables
22:40 Multi-line Statements
25:50 Second Script

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 #learnpowershell
Рекомендации по теме
Комментарии
Автор

You explain things so easy and simply that even someone as dense as me can start working with PS.
Thx man

manum
Автор

I just can repeat what the others already said here. This series helped me a lot to dive into Powershell. The way you´re explaining is quite easy to follow and entertaining. Thank you for putting so much effort into this video series and sharing your knowledge. You should get many thousands of views!

MichaelKarius
Автор

As far as I dive deeper into Powershell the more I like it. Thank you, mate, now I like more PS than bash hehe.

oscargm
Автор

"Because I'm obviously reading everything off the script"😂. No need to say it but you are so good at explaining thngs

jobinnelson
Автор

How come this course has so few views? I really can't believe it, I am an experience software engineer and was looking for resources to share with non-technical family member so they can delve into powershell. This is BY FAR the best series out there right now, and I checked on Udemy and Pluralsight too.. You have a talent for teaching this kind of subject and should keep at it if you really enjoy it (not necessarily as a YouTube channel, unless you want to). Great work! Will recommend, 10/10

Rks
Автор

Amazing! You are one of the better teachers I have known!

FernandoLopez-elmp
Автор

This is so awesome. Never knew that you can do so much stuff with Power shell. Those Hash tables are similair to the dictionairy in Python, as far as I grasp the concept. This is really fantstic. Thank you so much.

potschochterpotschochter
Автор

lol @ 7:31 haha
Great video man, I'm really liking this series.

RPG_ash
Автор

Thanks for the series. Really helps to maximize the first level knowledge before diving into PowerShell.
Just wondering would it make any difference if you will make variable INT instead of read-host e.g. [int]$first

vladislavnemcov
welcome to shbcf.ru