Windows Management Instrumentation (WMI) provides access to Windows operating system components, allowing local and remote access.
Operating System Information
# information about the operating system
wmic os list briefUser Accounts
# get the names of users on the system
wmic useraccount get name