filmov
tv
Learn PowerShell: Episode 7, Scripting + HashTables + Static

Показать описание
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
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
Комментарии