The GetType method tells you what the object type is.
Like this for example
$vm=Get-VM-NameMyVM
$vm.GetType() |SelectFullName
$esx=Get-VMHost-NameMyEsx
$esx.GetType() |SelectFullName
The GetType method tells you what the object type is.
Like this for example
$vm=Get-VM-NameMyVM
$vm.GetType() |SelectFullName
$esx=Get-VMHost-NameMyEsx
$esx.GetType() |SelectFullName