Username and Hostname
enumerationwindowschecklist
Summary
Confirm the current account and machine name before deeper Windows enumeration.
Walkthrough
Identify the logged-in user and host name as the first post-exploitation step. Run whoami and hostname.
Commands
cmd
whoami hostname