whoami | Microsoft Learn
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/whoami
Displays user, group and privileges information for the user who is currently logged on to the local system. If used without parameters, whoami displays the current domain and user name.
Displays user, group and privileges information for the user who is currently logged on to the local system. If used without parameters, whoami displays the current domain and user name.
DA: 23 PA: 68 MOZ Rank: 15