VMware Cloud Community
Pilu1978
Enthusiast
Enthusiast

How to retrieve hosts properties in VRO

Hi,

Is it possible to retrieve only one or two property of hosts rather retrieving all the properties in vRO like we do in powercli as shown below

$allHosts = Get-View -ViewType HostSystem -Property "name","Summary","Config" -Filter @{"Config.Template"="False"}

Does it mean there is no way to retrieve only one or two property of hosts rather retrieving all the properties in vRO like we do in powercli as shown below
 
$allHosts = Get-View -ViewType HostSystem -Property "name","Summary","Config" -Filter @{"Config.Template"="False"}
0 Kudos
0 Replies