That can vary based on whether you use HyperV or VMWare or something else.
Another big factor is whether or not you've got the VMWare tools (or their respective equivalent across the other stuff) installed.
And potentially version of the host / tools themselves, depending.
If you want to get something like an "If ... then ... else if ..." type logic, I suspect your best bet would be to try & go through support, though a request for info tends to be lower prio than a defect.
In the interim, you may avoid any "whoops" type side effect by including a "AND Computer.Operating System.Name NOT LIKE 'SERVER' " or so in your LD-query/queries as a simple solution?