Summary: Easily create an array that contains five numbers with Windows PowerShell.
How can I use Windows PowerShell to easily create an array that contains five numbers?
Use the Range operator and assign the results to a variable:
$a = 1..5
The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.
0 comments