I need to run powershell/powershell.exe from commandline, in windows server 2016 which is a vm im vSphere, but it does not work, the error is as follows:

the goal I want to achive is to run powershell from remote "Ansible/pywinrm/winrm". and they use powershell commands. therefrore, alternatives are not helping because I can not replace them.
I will appriciate if anyone can help me to go forward.
what I done or checked:
- installed powershell 7, after that this command: "pwsh" works, but "powershell" command not. 2.check environment variables, and add powershell there:
$env: PATH
$env: psmodulePATH
- tried this link:Microsoft-starting powershell this path is given here: %SystemRoot%\SysWOW64\WindowsPowerShell\v1.0\powershell.exe and it is instresting because when I run powershell direct from here, the there is more information after error, and when I run the command as bellow it works only on this powershell!
./powershell
and if I run the powershell with fullpath from a windows powershell it works as well

