I'm trying to create a table with two arrays and I'm not sure whats the best way to make this happen. Here is my code
$nomatchsam += $enabled.SamAccountName
$nomatch10 += $enabled.extensionAttribute10
I'd like to take these arrays and do something like this
% $nomatchsam |New-Object PSObject -Property @{
SamAccountName = $_;
extensionAttribute10 = $nomatch1
}
This is not working anyone know what I'm doing wrong?