Get IP Addresses of all Domain Controllers

Get-QADComputer-ComputerRoleDC | select name, @{n='IP';e={ [System.Net.Dns]::GetHostAddresses($_.Name)|select-objectIPAddressToString-expandpropertyIPAddressToString}}