PowerShell 7 Tutorials for Beginners #3 : Array & ArrayList

preview_player
Показать описание
In this video I will go over Arrays and ArrayList in PowerShell 7.2 and how to compare against each other and which one you should use in your scripts.

Tags:
PowerShell, jackedprogrammer, powershell 7, how to install powershell 7, powershell 7 on vs code, visual studio code
Рекомендации по теме
Комментарии
Автор

Being self taught, I didn’t even know about arraylists for years. Discovered them last year and they’ve completely changed my programming style

Akira_
Автор

I love the series! So much information, very well spoken.

AdityaKumar-eich
Автор

Fantasic tutorial. Great pace, very well structured 10/10

muratgurke
Автор

We can find many videos from different channels to learn C# and many trending languages. But We don't have videos to learn basic to advance powershell scripting. So I am suggesting you to focus on powershell scripting then everyone will know about your Chanel then you can introduce trending languages. I think it will help you to make your Chanel famous. Also helps us to learn everything about powershell scripting.

alladiakshay
Автор

I really feel like i'm getting all the informations that i actually need to start with powershell. Thanks a lot keep up the content

witekkowalke
Автор

That is a very nice crafting room you have in the background.

NathanFutrell
Автор

great video, would you happen to know the syntax for the insertrange method? I wanted to try adding to an array at a specific index point in the list, such as putting Test2 back at index 1

kevinchamberlain
Автор

what would the best method be to move an item down the list, and then the last one being removed?... for example, you may only want 10 total items in the list, when the 11th is added, everything is moved down one, and the last one is removed completely (no longer needed in the list).

ImPuLsE
Автор

Hi Jacked,
I still haven't quite figured out how to use Arrays.
Can you give some exercises or examples please?
Maybe some simple examples to get you started?

Jon-rpst
Автор

I just have a question. How do you remove elements in the middle of Arraylist? The command I used didn't work.

$mylist2 = [System.Collections.ArrayList]@(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
[void]$mylist2.RemoveRange(3, 8)

The error is this

Exception calling "RemoveRange" with "2" argument(s): "Offset and length were out of bounds for the array or count is greater than the number
| of elements from index to the end of the source collection."

However if I use 0 as the first index it works. but any other index apart from 0 fails. Do we also have negative indexing in arraylist?

Thanks

anantpai
Автор

How do we know when to use a capitol letter in the command?

QICNAScanner
Автор

How can we cast an Array as ArrayList?

arvindrajaram
Автор

Hi Bro, please make a video on accessing Oracle DataBase with Large datasets and different assemblies used while accessing Oracle Databases

pranavdeshpande
Автор

When running the 2nd measure command I get a "You cannot call a method on a null-valued expression." It specifically points to the {$arrayList.Add($_)} expression.

jimmydonovan
visit shbcf.ru