Gives you some good basic hardware information about your database server
Virtual_machine_type_desc of HYPERVISOR does not automatically mean you are running SQL Server inside of a VM. It merely indicates that you have a hypervisor running on your host
SELECT cpu_count AS [Logical CPU Count], scheduler_count, (socket_count * cores_per_socket) AS [Physical Core Count], socket_count AS [Socket Count], cores_per_socket, numa_node_count, physical_memory_kb/1024 AS [Physical Memory (MB)], max_workers_count AS [Max Workers Count], affinity_type_desc AS [Affinity Type], sqlserver_start_time AS [SQL Server Start Time], DATEDIFF(hour, sqlserver_start_time, GETDATE()) AS [SQL Server Up Time (hrs)], virtual_machine_type_desc AS [Virtual Machine Type], softnuma_configuration_desc AS [Soft NUMA Configuration], --SQL Server 2016 sql_memory_model_desc, --Added in SQL Server 2016 SP1 container_type_desc -- New in SQL Server 2019 FROM sys.dm_os_sys_info WITH (NOLOCK) OPTION (RECOMPILE);