Have a Question?
Categories
Print

Foreach

$Array = @("T1","T2","Z2","D4","F7")
foreach ($item in $Array)
{
    Write-Host "Item: $item"
}

Résulat dans la console: