I have a PowerShell script that at the beginning of the program sets the limits for a value. Eg
$value1Min = 1
$value1Max = 99
$value1Interval = 100
$value1Post = 125
Now I want to be able to handle any number of values, but I do not need copy code for each value. How do I create a list of parameters for each value? Eg (pseducode).
$info={{min = 1
max = 99
interval = 100
post = 125
},
{min = 100
max = 1000
interval = 10000
post = 548
},
{min = 50
max = 100
interval = 500
post = 452
}
}
I'm not so experienced in PowerShell