I'm attempting to figure out how to create a new variable each time a loop runs. Something along the lines of
for ($i=1; $i -le 5; $i++)
{
$"var + $i" = $i
write-host $"var + $i
}
I'm attempting to figure out how to create a new variable each time a loop runs. Something along the lines of
|
|||
|
Use
|
|||||||||||||
|