Skip to content

Commit

Permalink
added eventlog sample
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhitsolutions committed Dec 15, 2017
1 parent 8cc2ad8 commit e168e71
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions samples/eventlog-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"MemberType": "ScriptProperty",
"MemberName": "Computername",
"Value": "if ($this.machinename -eq \u0027.\u0027) {$env:computername} else {$this.machinename}",
"TypeName": "System.Diagnostics.EventLog"
}

0 comments on commit e168e71

Please sign in to comment.