Here's one way, although it's not the best way.
$a = 'ibm.com','microsoft.com'
foreach ($i in $a){
$i + "`t" + ([System.Net.Dns]::GetHostAddresses($i) | select IPAddressToString -ExpandProperty IPAddressToString)
}
--- Rich Matheisen MCSE&I, Exchange Ex-MVP (16 years)