Hello,
Get-VM | Where-Object {$_.ExtensionData.Guest.GuestFullName -like"*windows*"} |
Select Name,VMHost,@{n="GuestFullName"; e={$_.ExtensionData.Guest.GuestFullName}}
Hello, MikeErter-
You were pretty close (just a couple of extra items in there, and missing one little bit). You can access the GuestFullName property as follows, and the select some info, like VM name, the VMhost, and I added the GuestFullName to the output, too, just for reference:
Get-VM | Where-Object {$_.ExtensionData.Guest.GuestFullName -like"*windows*"} |
Select Name,VMHost,@{n="GuestFullName"; e={$_.ExtensionData.Guest.GuestFullName}}
How does that do for you?