AutomatedLab.format.ps1xml
<?xml version="1.0" encoding="utf-8" ?> <Configuration> <ViewDefinitions> <View> <Name>AutomatedLab.ValidationMessage</Name> <ViewSelectedBy> <TypeName>AutomatedLab.ValidationMessage</TypeName> </ViewSelectedBy> <TableControl> <AutoSize /> <TableHeaders> <TableColumnHeader> <Label>Type</Label> </TableColumnHeader> <TableColumnHeader> <Label>Message</Label> </TableColumnHeader> <TableColumnHeader> <Label>TargetObject</Label> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Type</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Message</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>TargetObject</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>AutomatedLab.Machine</Name> <ViewSelectedBy> <TypeName>AutomatedLab.Machine</TypeName> </ViewSelectedBy> <TableControl> <AutoSize /> <TableHeaders> <TableColumnHeader> <Label>Name</Label> </TableColumnHeader> <TableColumnHeader> <Label>DomainName</Label> </TableColumnHeader> <TableColumnHeader> <Label>Ip Address</Label> </TableColumnHeader> <TableColumnHeader> <Label>OS</Label> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Name</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>DomainName</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>IpV4Address</PropertyName> </TableColumnItem> <TableColumnItem> <ScriptBlock> [string]::Format('{0} ({1})', $_.OperatingSystem.OperatingSystemName, $_.OperatingSystem.Version) </ScriptBlock> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>AutomatedLab.OperatingSystem</Name> <ViewSelectedBy> <TypeName>AutomatedLab.OperatingSystem</TypeName> </ViewSelectedBy> <TableControl> <AutoSize /> <TableHeaders> <TableColumnHeader> <Label>OperatingSystemName</Label> </TableColumnHeader> <TableColumnHeader> <Label>Idx</Label> </TableColumnHeader> <TableColumnHeader> <Label>Version</Label> </TableColumnHeader> <TableColumnHeader> <Label>PublishedDate</Label> </TableColumnHeader> <TableColumnHeader> <Label>IsoPath</Label> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>OperatingSystemName</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>ImageIndex</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Version</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>PublishedDate</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>IsoPath</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>AutomatedLab.IsoImage</Name> <ViewSelectedBy> <TypeName>AutomatedLab.IsoImage</TypeName> </ViewSelectedBy> <TableControl> <AutoSize /> <TableHeaders> <TableColumnHeader> <Label>Name</Label> </TableColumnHeader> <TableColumnHeader> <Label>Size</Label> </TableColumnHeader> <TableColumnHeader> <Label>OS Count</Label> </TableColumnHeader> <TableColumnHeader> <Label>Path</Label> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Name</PropertyName> </TableColumnItem> <TableColumnItem> <ScriptBlock> [string]::Format('{0:N2}' -f $_.Size) </ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock> $_.OperatingSystems.Count </ScriptBlock> </TableColumnItem> <TableColumnItem> <PropertyName>Path</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> </ViewDefinitions> </Configuration> |