PSCoreUpdate.format.ps1xml

<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
    <ViewDefinitions>
        <!-- BuildStatus table view -->
        <View>
            <Name>Default</Name>
            <ViewSelectedBy>
                <TypeName>BuildStatus</TypeName>
            </ViewSelectedBy>
            <TableControl>
                <TableHeaders>
                    <TableColumnHeader>
                         <Label>Version</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                         <Label>Release</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>ReleaseDate</Label>
                    </TableColumnHeader>
                </TableHeaders>
                <TableRowEntries>
                    <TableRowEntry>
                        <TableColumnItems>
                            <TableColumnItem>
                                <PropertyName>Version</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>Release</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>ReleaseDate</PropertyName>
                            </TableColumnItem>
                        </TableColumnItems>
                    </TableRowEntry>
                 </TableRowEntries>
            </TableControl>
        </View>
 
        <!-- PowerShellSupportStatus table view -->
        <View>
            <Name>Default</Name>
            <ViewSelectedBy>
                <TypeName>PowerShellSupportStatus</TypeName>
            </ViewSelectedBy>
            <TableControl>
                <TableHeaders>
                    <TableColumnHeader>
                         <Label>Version</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                         <Label>Is EOS</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                         <Label>EOS Date</Label>
                    </TableColumnHeader>
                </TableHeaders>
                <TableRowEntries>
                    <TableRowEntry>
                        <TableColumnItems>
                            <TableColumnItem>
                                <ScriptBlock>"{0}.{1}" -f $_.Version.Major, $_.Version.Minor</ScriptBlock>
                            </TableColumnItem>
                            <TableColumnItem>
                                <ScriptBlock>$_.IsEOS()</ScriptBlock>
                            </TableColumnItem>
                            <TableColumnItem>
                                <ScriptBlock>$_.EOSDate.ToString("d")</ScriptBlock>
                            </TableColumnItem>
                        </TableColumnItems>
                    </TableRowEntry>
                 </TableRowEntries>
            </TableControl>
        </View>
 
        <!-- PowerShellCoreRelease table view -->
        <View>
            <Name>Default</Name>
            <ViewSelectedBy>
                <TypeName>PowerShellCoreRelease</TypeName>
            </ViewSelectedBy>
            <TableControl>
                <TableHeaders>
                    <TableColumnHeader>
                         <Label>Version</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>Name</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                         <Label>Published</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                         <Label>PreRelease</Label>
                    </TableColumnHeader>
                </TableHeaders>
                <TableRowEntries>
                    <TableRowEntry>
                        <TableColumnItems>
                            <TableColumnItem>
                                <PropertyName>Version</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>Name</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>Published</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>PreRelease</PropertyName>
                            </TableColumnItem>
                        </TableColumnItems>
                    </TableRowEntry>
                 </TableRowEntries>
            </TableControl>
        </View>
        <!-- PowerShellCoreRelease list view -->
        <View>
            <Name>Default</Name>
            <ViewSelectedBy>
                <TypeName>PowerShellCoreRelease</TypeName>
            </ViewSelectedBy>
            <ListControl>
                <ListEntries>
                    <ListEntry>
                        <ListItems>
                            <ListItem>
                                <PropertyName>ReleaseId</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Version</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Tag</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Name</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Url</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>HtmlUrl</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>PreRelease</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Published</PropertyName>
                            </ListItem>
                        </ListItems>
                    </ListEntry>
                </ListEntries>
            </ListControl>
        </View>
    </ViewDefinitions>
</Configuration>