samples/eventlog-type.json

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[
    {
    "MemberType": "ScriptProperty",
    "MemberName": "Computername",
    "Value": "if ($this.machinename -eq \u0027.\u0027) {$env:computername} else {$this.machinename}",
    "TypeName": "System.Diagnostics.EventLog"
},
 {
     "MemberType": "ScriptProperty",
     "MemberName": "Computername",
     "Value": "if ($this.machinename -eq \u0027.\u0027) {$env:computername} else {$this.machinename}",
     "TypeName": "Deserialized.System.Diagnostics.EventLog"
 }
]