OMEDeviceInventory.Format.ps1xml
<?xml version="1.0" encoding="utf-8" ?>
<Configuration> <ViewDefinitions> <View> <Name>OME.DeviceInventory</Name> <ViewSelectedBy> <TypeName>OME.DeviceInventory</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> <Label>Id</Label> <Width>5</Width> </TableColumnHeader> <TableColumnHeader> <Label>Name</Label> </TableColumnHeader> <TableColumnHeader> <Label>ServiceTag</Label> <Width>10</Width> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <ScriptBlock>$_.Device.Id</ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock>$_.Device.Name</ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock>$_.Device.ServiceTag</ScriptBlock> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>OME.DeviceInventory</Name> <ViewSelectedBy> <TypeName>OME.DeviceInventory</TypeName> </ViewSelectedBy> <ListControl> <ListEntries> <ListEntry> <ListItems> <ListItem> <Label>ID</Label> <ScriptBlock>$_.Device.Id</ScriptBlock> </ListItem> <ListItem> <Label>Name</Label> <ScriptBlock>$_.Device.Name</ScriptBlock> </ListItem> <ListItem> <Label>ServiceTag</Label> <ScriptBlock>$_.Device.ServiceTag</ScriptBlock> </ListItem> </ListItems> </ListEntry> </ListEntries> </ListControl> </View> </ViewDefinitions> </Configuration> |