Quantcast
Channel: Operations Manager - General forum
Viewing all articles
Browse latest Browse all 11941

Where is the property IsVirtualMachine under Windows Computer?

$
0
0

G’Day,

If Microsoft.Windows.Computer has a property entitled IsVirtualMachine, then why is it that the following PoSH command fails to list this property:

Get-MonitoringClass -Name 'Microsoft.Windows.Computer' | Get-Member

My goal is to list all physical Windows Computer objects.  The following command comes up empty:

Get-MonitoringClass -Name 'Microsoft.Windows.Computer' | Get-MonitoringObject | Where-Object {$_.IsVirtualMachine -eq $false}

Thanks,


Larry



Viewing all articles
Browse latest Browse all 11941

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>