Format/Vm.Format.ps1xml

<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
<ViewDefinitions>
<View>
  <Name>ZertoPS.Vm</Name>
  <ViewSelectedBy>
    <TypeName>ZertoPS.Vm</TypeName>
  </ViewSelectedBy>
  <ListControl>
    <ListEntries>
      <ListEntry>
        <ListItems>
          <ListItem>
            <PropertyName>VmName</PropertyName>
          </ListItem>
          <ListItem>
            <PropertyName>VpgName</PropertyName>
          </ListItem>
          <ListItem>
            <PropertyName>TargetSite</PropertyName>
          </ListItem>
          <ListItem>
            <Label>Priority</Label>
            <ScriptBlock>$Global:ZvmSession.ObjectTypes.Vpg.Priorities[$_.Priority]</ScriptBlock>
          </ListItem>
          <ListItem>
            <Label>Status</Label>
            <ScriptBlock>$Global:ZvmSession.ObjectTypes.Vpg.Statuses[$_.Status]</ScriptBlock>
          </ListItem>
          <ListItem>
            <Label>SubStatus</Label>
            <ScriptBlock>$Global:ZvmSession.ObjectTypes.Vpg.SubStatuses[$_.SubStatus]</ScriptBlock>
          </ListItem>
          <ListItem>
            <PropertyName>JournalHardLimit</PropertyName>
          </ListItem>
          <ListItem>
            <PropertyName>JournalWarningThreshold</PropertyName>
          </ListItem>
          <ListItem>
            <PropertyName>ProvisionedStorageInMB</PropertyName>
          </ListItem>
          <ListItem>
            <PropertyName>UsedStorageInMB</PropertyName>
          </ListItem>
          <ListItem>
            <PropertyName>ActualRPO</PropertyName>
          </ListItem>
        </ListItems>
      </ListEntry>
    </ListEntries>
  </ListControl>
</View>
<View>
  <Name>ZertoPS.Vm</Name>
  <ViewSelectedBy>
    <TypeName>ZertoPS.Vm</TypeName>
  </ViewSelectedBy>
  <TableControl>
    <TableHeaders>
      <TableColumnHeader>
        <Label>VmName</Label>
      </TableColumnHeader>
      <TableColumnHeader>
        <Label>VpgName</Label>
      </TableColumnHeader>
      <TableColumnHeader>
        <Label>TargetSite</Label>
      </TableColumnHeader>
      <TableColumnHeader>
        <Label>Priority</Label>
      </TableColumnHeader>
      <TableColumnHeader>
        <Label>Status</Label>
      </TableColumnHeader>
      <TableColumnHeader>
        <Label>SubStatus</Label>
      </TableColumnHeader>
      <TableColumnHeader>
        <Label>ActualRPO</Label>
      </TableColumnHeader>
    </TableHeaders>
    <TableRowEntries>
      <TableRowEntry>
        <TableColumnItems>
          <TableColumnItem>
            <ScriptBlock>$_.VmName</ScriptBlock>
          </TableColumnItem>
          <TableColumnItem>
            <ScriptBlock>$_.VpgName</ScriptBlock>
          </TableColumnItem>
          <TableColumnItem>
            <ScriptBlock>$_.TargetSite</ScriptBlock>
          </TableColumnItem>
          <TableColumnItem>
            <ScriptBlock>$Global:ZvmSession.ObjectTypes.Vpg.Priorities[$_.Priority]</ScriptBlock>
          </TableColumnItem>
          <TableColumnItem>
            <ScriptBlock>$Global:ZvmSession.ObjectTypes.Vpg.Statuses[$_.Status]</ScriptBlock>
          </TableColumnItem>
          <TableColumnItem>
            <ScriptBlock>$Global:ZvmSession.ObjectTypes.Vpg.SubStatuses[$_.SubStatus]</ScriptBlock>
          </TableColumnItem>
          <TableColumnItem>
            <ScriptBlock>$_.ActualRPO</ScriptBlock>
          </TableColumnItem>
        </TableColumnItems>
      </TableRowEntry>
    </TableRowEntries>
  </TableControl>
</View>
</ViewDefinitions>
</Configuration>