formats/gitsize.format.ps1xml
<?xml version="1.0" encoding="UTF-8"?>
<Configuration> <ViewDefinitions> <View> <!--Created 03/05/2020 14:35:01 by BOVINE320\Jeff--> <Name>default</Name> <ViewSelectedBy> <TypeName>gitSize</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> <Label>Path</Label> <Width>40</Width> <Alignment>left</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>Files</Label> <Width>10</Width> <Alignment>right</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>SizeKB</Label> <Width>15</Width> <Alignment>right</Alignment> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Path</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Files</PropertyName> </TableColumnItem> <TableColumnItem> <ScriptBlock>[math]::round($_.Size/1KB,4)</ScriptBlock> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <!--Created 03/05/2020 14:35:01 by BOVINE320\Jeff--> <Name>mb</Name> <ViewSelectedBy> <TypeName>gitsize</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> <Label>Path</Label> <Width>40</Width> <Alignment>left</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>Files</Label> <Width>10</Width> <Alignment>right</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>SizeMB</Label> <Width>15</Width> <Alignment>right</Alignment> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Path</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Files</PropertyName> </TableColumnItem> <TableColumnItem> <ScriptBlock>[math]::round($_.Size/1MB,4)</ScriptBlock> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> </ViewDefinitions> </Configuration> |