Hi,
So is it possible to get the CNAMEs on VM's. not the A-record.
I was using this inpiece in my script but it appears to only get the A-record. I would not mind having both A-Record and CNAME.
$vm.DnsAliases = [string]$lookup=nslookup $vm | Select-String "Name"
thanks!!