From LedHed's Wiki
Revision as of 22:21, 23 May 2012 by Ledhed (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

WMIC

This command will return the name of the user who is currently logged into the console.
Note: It does not return the names of users who are connected via RDP.

WMIC /NODE: "workstation_name" COMPUTERSYSTEM GET USERNAME