From LedHed's Wiki
Jump to: navigation, search
(Created page with '== WMIC == This command will return the name of the user who is currently logged into the console.<br> Note: It does not return the names of users who are connected via RDP. WMI...')
 
Line 6: Line 6:
  
  
[[Category:Windows]]
+
[[Category:Remote_Admin_Tricks]]

Revision as of 22:23, 23 May 2012

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