Concat variable's name in powershell

288 Views Asked by At

I looking for this in powershell

$VAR0=args[0]
$VAR1=args[1]
$VAR2=args[2]

With a construction like this

$a=0
$VAR+$a=args[$a]

but I cannot concatenate this way

0

There are 0 best solutions below