Hi experts, We are inventorying our SL licenses. I've been asked to determine: Nbr of physical cores on each SQL Server - easy enough to do
Nbr of VIRTUAL cores that are assigned to SQL Guests - can I query to get this value?
Thanks for any tips.
I did a simple google search for 'SQL Server query logical processors' and came up with multiple sites that shows how to get both logical and physical.
All the information you need is in sys.dm_os_sys_info
This has exactly what you need.