arrayofobject is the final value. It is like a csv file with two colomns names (value1 & value2)
xxxxxxxxxx
$allSafesFormated = New-Object System.Collections.ArrayList(<INSERTSIZE>)
foreach ($ in $) {
$obj = [pscustomobject]@{
value1 = $var1
value2 = $var2
}
$arrayofobject.Add($obj) | Out-Null
}