WindowsUtils.Format.ps1xml
<?xml version="1.0" encoding="utf-8"?>
<Configuration> <ViewDefinitions> <View> <Name>WindowsUtils.AccessControl.ServiceSecurity</Name> <ViewSelectedBy> <TypeName>WindowsUtils.AccessControl.ServiceSecurity</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> <Label>Access</Label> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Name</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Owner</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>AccessToString</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>WindowsUtils.ObjectHandle</Name> <ViewSelectedBy> <TypeName>WindowsUtils.ObjectHandle</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> <Width>11</Width> </TableColumnHeader> <TableColumnHeader> <Width>20</Width> </TableColumnHeader> <TableColumnHeader> <Width>45</Width> </TableColumnHeader> <TableColumnHeader> <Width>10</Width> </TableColumnHeader> <TableColumnHeader> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Type</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>InputObject</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Name</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>ProcessId</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Description</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>WindowsUtils.TcpingProbeInfo</Name> <ViewSelectedBy> <TypeName>WindowsUtils.TcpingProbeInfo</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> <Width>30</Width> </TableColumnHeader> <TableColumnHeader> <Width>5</Width> </TableColumnHeader> <TableColumnHeader> <Width>7</Width> </TableColumnHeader> <TableColumnHeader> <Label>Times</Label> <Width>40</Width> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Destination</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Port</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Status</PropertyName> </TableColumnItem> <TableColumnItem> <ScriptBlock> if ($_.Jitter -ge 0) { return "Rtt: $($_.RoundTripTime.ToString('F2')), Jitter: $($_.Jitter.ToString('F2'))" } return "Rtt: $($_.RoundTripTime.ToString('F2'))" </ScriptBlock> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>WindowsUtils.NetworkFileInfo</Name> <ViewSelectedBy> <TypeName>WindowsUtils.NetworkFileInfo</TypeName> </ViewSelectedBy> <TableControl> <AutoSize /> <TableHeaders> <TableColumnHeader> <Width>5</Width> </TableColumnHeader> <TableColumnHeader> <Width>10</Width> </TableColumnHeader> <TableColumnHeader> <Width>10</Width> </TableColumnHeader> <TableColumnHeader> <Width>10</Width> </TableColumnHeader> <TableColumnHeader> <Width>10</Width> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Id</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Path</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>LockCount</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>UserName</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Permissions</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>WindowsUtils.TestPortInfo</Name> <ViewSelectedBy> <TypeName>WindowsUtils.TestPortInfo</TypeName> </ViewSelectedBy> <TableControl> <Autosize /> <TableHeaders> <TableColumnHeader /> <TableColumnHeader /> <TableColumnHeader /> <TableColumnHeader /> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Destination</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Address</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Port</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Status</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>WindowsUtils.ErrorInformation</Name> <ViewSelectedBy> <TypeName>WindowsUtils.ErrorInformation</TypeName> </ViewSelectedBy> <TableControl> <Autosize /> <TableHeaders> <TableColumnHeader /> <TableColumnHeader> <Label>HaveHResult</Label> </TableColumnHeader> <TableColumnHeader /> <TableColumnHeader /> <TableColumnHeader /> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>HexCode</PropertyName> </TableColumnItem> <TableColumnItem> <ScriptBlock> if ($_.HResultInfo) { return $true } return $false </ScriptBlock> </TableColumnItem> <TableColumnItem> <PropertyName>Source</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>SymbolicName</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Description</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>WindowsUtils.Network.TransportTableInfo</Name> <ViewSelectedBy> <TypeName>WindowsUtils.Network.TransportTableInfo</TypeName> </ViewSelectedBy> <TableControl> <AutoSize /> <TableHeaders> <TableColumnHeader /> <TableColumnHeader /> <TableColumnHeader /> <TableColumnHeader /> <TableColumnHeader /> <TableColumnHeader /> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Protocol</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>LocalAddress</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>LocalPort</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>RemoteAddress</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>RemotePort</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>State</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>WindowsUtils.Network.IpRoute</Name> <ViewSelectedBy> <TypeName>WindowsUtils.Network.IpRoute</TypeName> </ViewSelectedBy> <TableControl> <AutoSize /> <TableHeaders> <TableColumnHeader /> <TableColumnHeader /> <TableColumnHeader /> <TableColumnHeader /> <TableColumnHeader /> <TableColumnHeader /> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>InterfaceIndex</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>NetworkDestination</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>NetworkMask</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Gateway</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Metric</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Persistent</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> </ViewDefinitions> </Configuration> |