Skip to content

Commit

Permalink
add wmi query by @grizzlyjere #14
Browse files Browse the repository at this point in the history
  • Loading branch information
sleevezipper authored Jan 16, 2021
1 parent cab8ea2 commit fd30b25
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ which results in `4008` for my PC.

You can use [WMI Explorer](https://github.com/vinaypamnani/wmie2/tree/v2.0.0.2) to find see what data is available.

Here's some queries from other users:

|Query|Explanation|Thanks|
|---|---|---|
|`SELECT username FROM Win32_ComputerSystem`|Shows the current user|@grizzlyjere|

Want to add you query here? Please create a pull request or open an issue.

### LastActive

This sensor returns the date/time that the workstation was last active. Typing or moving your mouse will reset the date/time.
Expand Down

0 comments on commit fd30b25

Please sign in to comment.