DHCPv4.format.list.ps1xml
<?xml version="1.0" encoding="utf-8"?>
<!-- @see reference @url https://docs.microsoft.com/fr-fr/powershell/scripting/developer/format/format-schema-xml-reference?view=powershell-7 --> <Configuration> <ViewDefinitions> <View> <Name>DHCPv4PacketList</Name> <ViewSelectedBy> <TypeName>DHCPv4Packet</TypeName> </ViewSelectedBy> <ListControl> <ListEntries> <ListEntry> <ListItems> <ListItem> <Label>op</Label> <scriptBlock> [DHCPv4MessageType]::GetName([DHCPv4MessageType], $_.op) </scriptBlock> </ListItem> <ListItem> <PropertyName>htype</PropertyName> </ListItem> <ListItem> <PropertyName>hlen</PropertyName> </ListItem> <ListItem> <PropertyName>hops</PropertyName> </ListItem> <ListItem> <Label>xid</Label> <scriptBlock> ($_.xid | % { $_.ToString("X") }) -join "" </scriptBlock> </ListItem> <ListItem> <PropertyName>secs</PropertyName> </ListItem> <ListItem> <PropertyName>flags</PropertyName> </ListItem> <ListItem> <PropertyName>ciaddr</PropertyName> </ListItem> <ListItem> <PropertyName>yiaddr</PropertyName> </ListItem> <ListItem> <PropertyName>siaddr</PropertyName> </ListItem> <ListItem> <PropertyName>giaddr</PropertyName> </ListItem> <ListItem> <PropertyName>chaddr</PropertyName> </ListItem> <ListItem> <PropertyName>sname</PropertyName> </ListItem> <ListItem> <PropertyName>file</PropertyName> </ListItem> <ListItem> <Label>magic cookie</Label> <scriptBlock> ($_.magicCookie | % { $_.ToString("X") }) -join "" </scriptBlock> </ListItem> <ListItem> <PropertyName>options</PropertyName> </ListItem> </ListItems> </ListEntry> </ListEntries> </ListControl> </View> </ViewDefinitions> </Configuration> |