Why does the following command return more attributes than in the Select?
$obj = Get-VM | Select VMName,State; $obj
VMName : blah-blah State : Off PSComputerName : host RunspaceId : URI
And how do I just get the value for State?
$obj = Get-VM | Select VMName,State; $obj.StateThe above should do the trick but doesn't :(