From e168e71669b05f4f6dc5faa8f8170bd5bd889b02 Mon Sep 17 00:00:00 2001 From: Jeff Hicks Date: Fri, 15 Dec 2017 18:01:53 -0500 Subject: [PATCH] added eventlog sample --- samples/eventlog-type.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 samples/eventlog-type.json diff --git a/samples/eventlog-type.json b/samples/eventlog-type.json new file mode 100644 index 0000000..d7eb16a --- /dev/null +++ b/samples/eventlog-type.json @@ -0,0 +1,6 @@ +{ + "MemberType": "ScriptProperty", + "MemberName": "Computername", + "Value": "if ($this.machinename -eq \u0027.\u0027) {$env:computername} else {$this.machinename}", + "TypeName": "System.Diagnostics.EventLog" +}