PSNetScanners.Format.ps1xml
<?xml version="1.0" encoding="utf-8"?>
<Configuration> <ViewDefinitions> <View> <Name>DnsViewSuccess</Name> <ViewSelectedBy> <TypeName>PSNetScanners.DnsSuccess</TypeName> </ViewSelectedBy> <ListControl> <ListEntries> <ListEntry> <ListItems> <ListItem> <PropertyName>Status</PropertyName> </ListItem> <ListItem> <PropertyName>HostName</PropertyName> </ListItem> <ListItem> <PropertyName>AddressList</PropertyName> </ListItem> <ListItem> <PropertyName>Aliases</PropertyName> </ListItem> </ListItems> </ListEntry> </ListEntries> </ListControl> </View> <View> <Name>DnsViewFailure</Name> <ViewSelectedBy> <TypeName>PSNetScanners.DnsFailure</TypeName> </ViewSelectedBy> <ListControl> <ListEntries> <ListEntry> <ListItems> <ListItem> <PropertyName>Status</PropertyName> </ListItem> <ListItem> <PropertyName>Exception</PropertyName> </ListItem> </ListItems> </ListEntry> </ListEntries> </ListControl> </View> <View> <Name>PingAsyncView</Name> <ViewSelectedBy> <TypeName>PSNetScanners.PingResult</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> <Label>Source</Label> <Width>16</Width> </TableColumnHeader> <TableColumnHeader> <Label>Destination</Label> <Width>16</Width> </TableColumnHeader> <TableColumnHeader> <Label>Address</Label> <Width>15</Width> </TableColumnHeader> <TableColumnHeader> <Label>Latency</Label> <Alignment>Right</Alignment> <Width>11</Width> </TableColumnHeader> <TableColumnHeader> <Label>Status</Label> <Width>12</Width> </TableColumnHeader> <TableColumnHeader> <Label>DnsResult</Label> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Source</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Destination</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>DisplayAddress</PropertyName> </TableColumnItem> <TableColumnItem> <ScriptBlock> [PSNetScanners.Internal._Format]::GetFormattedLatency($_) </ScriptBlock> </TableColumnItem> <TableColumnItem> <PropertyName>Status</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>DnsResult</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>TcpAsyncView</Name> <ViewSelectedBy> <TypeName>PSNetScanners.TcpResult</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> <Label>Source</Label> <Width>16</Width> </TableColumnHeader> <TableColumnHeader> <Label>Destination</Label> <Width>16</Width> </TableColumnHeader> <TableColumnHeader> <Label>Client</Label> <Width>15</Width> </TableColumnHeader> <TableColumnHeader> <Label>Port</Label> <Width>7</Width> <Alignment>Right</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>Status</Label> <Width>15</Width> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Source</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Destination</PropertyName> </TableColumnItem> <TableColumnItem> <ScriptBlock> [PSNetScanners.Internal._Format]::GetClient($_) </ScriptBlock> </TableColumnItem> <TableColumnItem> <PropertyName>Port</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Status</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> </ViewDefinitions> </Configuration> |