Format/Datastore.Format.ps1xml
<?xml version="1.0" encoding="utf-8" ?> <Configuration> <ViewDefinitions> <View> <Name>ZertoPS.Datastore</Name> <ViewSelectedBy> <TypeName>ZertoPS.Datastore</TypeName> </ViewSelectedBy> <ListControl> <ListEntries> <ListEntry> <ListItems> <ListItem> <PropertyName>DatastoreName</PropertyName> </ListItem> <ListItem> <Label>HealthStatus</Label> <ScriptBlock>$_.Health.Status</ScriptBlock> </ListItem> <ListItem> <Label>NumIncomingVMs</Label> <ScriptBlock>$_.Stats.NumIncomingVMs</ScriptBlock> </ListItem> <ListItem> <Label>NumOutgoingVMs</Label> <ScriptBlock>$_.Stats.NumOutgoingVMs</ScriptBlock> </ListItem> <ListItem> <Label>NumVRAs</Label> <ScriptBlock>$_.Stats.NumVRAs</ScriptBlock> </ListItem> <ListItem> <Label>AvailabilityStatus</Label> <ScriptBlock>$_.Stats.AvailabilityStatus</ScriptBlock> </ListItem> <ListItem> <Label>DatastoreUsage</Label> <ScriptBlock>$_.Stats.Usage.Datastore</ScriptBlock> </ListItem> <ListItem> <Label>ZertoUsage</Label> <ScriptBlock>$_.Stats.Usage.Zerto</ScriptBlock> </ListItem> <ListItem> <Label>Alerts</Label> <ScriptBlock>$_.Health.Alerts</ScriptBlock> </ListItem> <ListItem> <Label>Config</Label> <ScriptBlock>$_.Config</ScriptBlock> </ListItem> </ListItems> </ListEntry> </ListEntries> </ListControl> </View> <View> <Name>ZertoPS.Datastore</Name> <ViewSelectedBy> <TypeName>ZertoPS.Datastore</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> <Label>DatastoreName</Label> </TableColumnHeader> <TableColumnHeader> <Label>HealthStatus</Label> </TableColumnHeader> <TableColumnHeader> <Label>NumIncomingVMs</Label> </TableColumnHeader> <TableColumnHeader> <Label>NumOutgoingVMs</Label> </TableColumnHeader> <TableColumnHeader> <Label>NumVRAs</Label> </TableColumnHeader> <TableColumnHeader> <Label>AvailabilityStatus</Label> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <ScriptBlock>$_.DatastoreName</ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock>$_.Health.Status</ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock>$_.Stats.NumIncomingVMs</ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock>$_.Stats.NumOutgoingVMs</ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock>$_.Stats.NumVRAs</ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock>$_.Stats.AvailabilityStatus</ScriptBlock> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> </ViewDefinitions> </Configuration> |