-
Notifications
You must be signed in to change notification settings - Fork 21
/
LSUClient.Format.ps1xml
128 lines (128 loc) Β· 4.66 KB
/
LSUClient.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
ο»Ώ<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
<ViewDefinitions>
<View>
<Name>LenovoPackageTable</Name>
<ViewSelectedBy>
<TypeName>LenovoPackage</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>
<TableColumnHeader/>
<TableColumnHeader>
<Width>30</Width>
</TableColumnHeader>
<TableColumnHeader/>
<TableColumnHeader/>
<TableColumnHeader/>
<TableColumnHeader/>
</TableHeaders>
<TableRowEntries>
<TableRowEntry>
<TableColumnItems>
<TableColumnItem>
<PropertyName>ID</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>Title</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>Type</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>ReleaseDate</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>Version</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>Severity</PropertyName>
</TableColumnItem>
</TableColumnItems>
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
<View>
<Name>LenovoPackageList</Name>
<ViewSelectedBy>
<TypeName>LenovoPackage</TypeName>
</ViewSelectedBy>
<ListControl>
<ListEntries>
<ListEntry>
<ListItems>
<ListItem>
<PropertyName>ID</PropertyName>
</ListItem>
<ListItem>
<PropertyName>Title</PropertyName>
</ListItem>
<ListItem>
<PropertyName>Type</PropertyName>
</ListItem>
<ListItem>
<PropertyName>Category</PropertyName>
</ListItem>
<ListItem>
<PropertyName>ReleaseDate</PropertyName>
</ListItem>
<ListItem>
<PropertyName>Version</PropertyName>
</ListItem>
<ListItem>
<PropertyName>Severity</PropertyName>
</ListItem>
<ListItem>
<PropertyName>Installer</PropertyName>
</ListItem>
<ListItem>
<PropertyName>IsApplicable</PropertyName>
</ListItem>
<ListItem>
<PropertyName>IsInstalled</PropertyName>
</ListItem>
</ListItems>
</ListEntry>
</ListEntries>
</ListControl>
</View>
<View>
<Name>InstallResultFormat</Name>
<ViewSelectedBy><TypeName>PackageInstallResult</TypeName></ViewSelectedBy>
<ListControl>
<ListEntries><ListEntry><ListItems>
<ListItem><PropertyName>ID</PropertyName></ListItem>
<ListItem><PropertyName>Title</PropertyName></ListItem>
<ListItem><PropertyName>Type</PropertyName></ListItem>
<ListItem><PropertyName>Success</PropertyName></ListItem>
<ListItem><PropertyName>FailureReason</PropertyName></ListItem>
<ListItem><PropertyName>PendingAction</PropertyName></ListItem>
<ListItem><PropertyName>ExitCode</PropertyName></ListItem>
<!-- <ListItem><PropertyName>StandardOutput</PropertyName></ListItem> -->
<ListItem><Label>StandardOutput</Label><ScriptBlock>
if ($_.StandardOutput.Count -gt 30) {
@('...') + $_.StandardOutput[-30..-1] -join [Environment]::NewLine
} else {
$_.StandardOutput -join [Environment]::NewLine
}
</ScriptBlock></ListItem>
<ListItem><Label>StandardError</Label><ScriptBlock>
if ($_.StandardError.Count -gt 30) {
@('...') + $_.StandardError[-30..-1] -join [Environment]::NewLine
} else {
$_.StandardError -join [Environment]::NewLine
}
</ScriptBlock></ListItem>
<ListItem><Label>LogOutput</Label><ScriptBlock>
if ($_.LogOutput.Count -gt 30) {
@('...') + $_.LogOutput[-30..-1] -join [Environment]::NewLine
} else {
$_.LogOutput -join [Environment]::NewLine
}
</ScriptBlock></ListItem>
<ListItem><PropertyName>Runtime</PropertyName></ListItem>
</ListItems></ListEntry></ListEntries></ListControl>
</View>
</ViewDefinitions>
</Configuration>