Today I’m gonna explain Powershell arrays, which is the most important part of the scripting and coding in Powershell, also having arrays in your code could help you much and ease your coding progress.
Powershell arrays provides a structured data which is combined into an array and stores a fixed-size sequential collection of elements of the any type.
In order to assign an Array, you must create a variable to include the arrays data in it, and you can specify the type of array the variable can reference. Here is the syntax for declaring an array variable.
$C = 16,2,5,1,60,3
$R = 1..6
I as told before that I am working on a website called PowerShell Club, which is about Powershell scripting, learning and sharing the experience there.
Now we are looking for talented and responsible experts who believe in themselves as an Administrator and can manage our forums!
You can send your applications to [email protected] mail address and I’ll get back to you if It meets the requirements.
Check my TechNet Article about Sconfig.exe configuration on Windows Server Core and GUI edition.