PowerShell Tutorial - CH10 - HashTables

preview_player
Показать описание
PowerShell Tutorial
00:00:00 - CH10 - HashTables
00:00:35 - Access a hash table value by key
00:06:38 - Creating a Hash Table
00:10:00 - Add a key value pair to hash table
00:11:34 - Remove a key value pair from hash table
00:12:57 - Enumerating through keys and Key-Value Pairs
00:18:57 - Looping Over a Hash Table

Notebook to code with me is here

Or you can download the document and follow along

View the full PowerShell Tutorial Youtube Playlist here

Рекомендации по теме
Комментарии
Автор

You are one of the few who teaches Powershell Thanks for the content!!!!😀

filipegomes
Автор

From my experience indexing with ['step brother'] does work all the time. I think the PowerShell team took inspiration from other languages for that

aaronturpin
Автор

Which VS Code plugin you use here to run the definite part of code?

YuriyDizorder
Автор

Your video is nice but you seem not that well experienced with hashtables. Not very confident in your explanations.
For example, when you put the propriety inside brackets, you were surprised but it's a normal behavior. And when you talk about creating new properties, you say it's just preference and there is no difference between hashtable.property = value VS hashtable.add("key", "value"). There is a difference. If the property already exist, you are overwriting it by doing the first option but if you use the add() method, you can't overwrite properties.
Finally, later in the video, you seem to not understand how write-host is working...
But, I guess you're a nice guy nevertheless so have a good day aha

justethom