xml/NPSLogFile.Format.ps1xml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?xml version="1.0" encoding="utf-8"?>
<Configuration>
    <ViewDefinitions>
        <!-- Comment - Category -->
        <!-- Comment - ViewType&Object -->
        <View>
            <Name>NPS.LogFile_table</Name>
            <ViewSelectedBy>
                <TypeName>NPS.LogFile</TypeName>
            </ViewSelectedBy>
            <TableControl>
                <TableHeaders>
                    <!-- Multiple TableColumnHeader elements possible, but the number of TableRowEntry elements must be the same. -->
                    <TableColumnHeader>
                        <Label>EventTimestamp</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>ComputerName</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>PacketTypeName</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>ReasonCodeName</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>UserName</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>NpPolicyName</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>ProxyPolicyName</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>ClientIpAddress</Label>
                        <Width>15</Width>
                        <Alignment>right</Alignment>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>ClientFriendlyName</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>CallingStationId</Label>
                        <Width>17</Width>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>CalledStationId</Label>
                        <Width>17</Width>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>AuthenticationTypeName</Label>
                        <Width>10</Width>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>NasPortTypeName</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>ProviderTypeName</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>ConnectInfo</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>LogFile</Label>
                    </TableColumnHeader>
                </TableHeaders>
 
                <TableRowEntries>
                    <TableRowEntry>
                        <TableColumnItems>
                            <TableColumnItem>
                                <PropertyName>EventTimestamp</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>ComputerName</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>PacketTypeName</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>ReasonCodeName</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>UserName</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>NpPolicyName</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>ProxyPolicyName</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>ClientIpAddress</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>ClientFriendlyName</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>CallingStationId</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>CalledStationId</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>AuthenticationTypeName</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>NasPortTypeName</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>ProviderTypeName</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>ConnectInfo</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>LogFile</PropertyName>
                            </TableColumnItem>
                        </TableColumnItems>
                    </TableRowEntry>
                </TableRowEntries>
            </TableControl>
        </View>
 
        <View>
            <Name>NPS.LogFile_wide</Name>
            <ViewSelectedBy>
                <TypeName>NPS.LogFile</TypeName>
            </ViewSelectedBy>
 
            <WideControl>
                <ColumnNumber>3</ColumnNumber>
                <WideEntries>
                    <WideEntry>
                        <WideItem>
                            <!-- Only single WideItem elements possible. With Propertyname, or with Scriptblock as the item to be displayed -->
                            <ScriptBlock>"$($_.EventTimestamp.DateTime) $($_.PacketTypeName) $($_.ReasonCodeName)"</ScriptBlock>
                        </WideItem>
                    </WideEntry>
                </WideEntries>
            </WideControl>
        </View>
    </ViewDefinitions>
</Configuration>