Skip to content

Commit

Permalink
Fixed a typo (#2158)
Browse files Browse the repository at this point in the history
Fixed a typo in argument of "Example 2: Subscribe to creation events for a process", changed argument from Auery to Query.
  • Loading branch information
Zaksh authored and Sean Wheeler committed Mar 2, 2018
1 parent 49df397 commit 6f05dca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ This class raises an event whenever a process starts.

### Example 2: Subscribe to creation events for a process
```
PS C:\> Register-WmiEvent -Auery "select * from __instancecreationevent within 5 where targetinstance isa 'win32_process'" -SourceIdentifier "WMIProcess" -MessageData "Test 01" -TimeOut 500
PS C:\> Register-WmiEvent -Query "select * from __instancecreationevent within 5 where targetinstance isa 'win32_process'" -SourceIdentifier "WMIProcess" -MessageData "Test 01" -TimeOut 500
```

This command uses a query to subscribe to Win32_process instance creation events.
Expand Down

0 comments on commit 6f05dca

Please sign in to comment.