Тёмный

PowerShell Hashtables 

Niklas Borson
Подписаться 234
Просмотров 3,4 тыс.
50% 1

This is one of a series of videos for beginning programmers using PowerShell. In this video, we introduce hashtables, which are collections of objects associated with names.
For other videos in this series, use the following playlist:
• Learn to Program in Po...
For more information about PowerShell, see aka.ms/powershell
You can edit PowerShell scripts using Visual Studio Code. For more information, see code.visualstu...

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@leasj2012
@leasj2012 Год назад
One of the best PS tutorials I've seen. Thanks!
@DonBuckle
@DonBuckle Год назад
Follow this series! PowerShell is new to me ... have watched many and tried to absorb ( it has to be said ... not very successfully) but your tutorials are some of the best! Both in style and content. I have re-watched each of them and working along with them ... excellent! Highly recommended! - 76 year old of dubious intellectual stature.
@thesecret111
@thesecret111 Год назад
It's funny how this youtuber has only 30 subs and explain better than majority! While some pathetics others puts advertising + merchandise + etc. Teaches you nothing!! Keep this channel growing! Never give up!
@shanelonn7728
@shanelonn7728 Год назад
This explanation was fantastic🔥. Thank you. I’ll be watching your other powershell videos to grasp working with it.
@saleemdanfort
@saleemdanfort 2 года назад
Thank you for the video
@DonBuckle
@DonBuckle Год назад
Niklas - problemet $csv | ForEach-Object { $pop[$_.Name] = $_.CENSUS2010POP} produces an error in PowerShell 7.3.4:- InvalidOperation: Line | 2 | $pop[$_.Name] = $_.CENSUS2010POP | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Cannot index into a null array. It works correctly in PowerShell 5.1 ...... Thanks for this excellent PowerShell series
@niklasborson5790
@niklasborson5790 Год назад
That's funny, I tested this using PowerShell 7.something. I hope the video is still useful to you even with that error!
@niklasborson5790
@niklasborson5790 8 месяцев назад
Eight months late, but I finally realized what caused this. You need to initialize $pop to an empty hashtable before executing the above statement. Otherwise the expression $pop[$_.Name] will fail because $pop is null.
Далее
Working with Files in PowerShell
27:21
Просмотров 613
Wildest 10 SECONDS OF HIS LIFE 🤯 @TomIsted
00:14
Просмотров 1,4 млн
PowerShell Hash Table - Storing key value pairs
22:19
Просмотров 2,5 тыс.
PowerShell Regular Expressions
52:04
Просмотров 347
PowerShell Classes
39:19
Просмотров 784
PowerShell Tutorials : Working with JSON
20:09
Просмотров 7 тыс.
Wildest 10 SECONDS OF HIS LIFE 🤯 @TomIsted
00:14
Просмотров 1,4 млн