What ?
‘whoami’ is not recognized as an internal or external command

Fix
Let’s fix whoami with the following
set PATH=%PATH%C:\Windows\System32;C:\Windows\System32\WindowsPowerShell\v1.0;

‘whoami’ is not recognized as an internal or external command

Let’s fix whoami with the following
set PATH=%PATH%C:\Windows\System32;C:\Windows\System32\WindowsPowerShell\v1.0;
