Question: What PowerShell command do I use to find out the DNS settings, VNET name and Affinity group after VM deployment?
Example - VM is deployed via Powershell -
New-AzureVM -ServiceName $service -AffinityGroup $MyAG -VMs $MyVM -DnsSettings $myDNS -VNetName $MyVnet
So without logging into the Console or the VM how do I get this information after the VM was deployed?
ExportVM - XML file does not contain this information.
Get-AzureVM - Does not contain this information.
Get-AzureDNS - Does not get me DNS info for a deployed VM.
Have I overlooked a command?