I'm working on a project,
I have 3 arrays, and i want to take all values from it. maybe some code would be better than explanation.
$Array1= "Value1", "Value2", ....
$Array2= "Another1", "Another2",...
$Array3= "Again1", "Again2", ...
My result should be
Value1 Another1 Again1
Value2 Another2 Again2
etc...
I've tried many option like so :
foreach($i in $Array1){
Foreach($j in $Value2){
Write-host $i "," $j
}
}
result:
Value1, Another1
Value1,Another2
Value2,Another1
Value2,Another2
I've search a solution for like 5 hours . and i'm not an expert in powershell. please help me !!