I have spun two VMs in azure, one with size Standard D4s v3 (4 vcpus, 16GiB memory) and the second with size Standard D4as_v4 (4vcpus, 16GiB memory).
However if i run the cmdlet Get-WmiObject –class Win32_processor | ft NumberOfCores,NumberOfLogicalProcessors from powershell, the first VM says four as Number of Cores but for the second one it is only two.
Please can someone help me in understanding this anomaly?
Thanks


