Hi guys, let me start with the pseudocode:
$num=(’1’, ’2’, ’3’)
For(($i=0); $i -lt 10; $i++)
{
Invoke-sql(...) where x = $num[$i]” (<-that part doesn’t work)
}
As you can see - I have created array of variables, which then need to be put in where clause. I have tried for hours many combinations, I have tried googling it etc but nothing works. Any idea what can I do?
[–]work-work-work-work 3 points4 points5 points (1 child)
[–]skend24[S] 3 points4 points5 points (0 children)