When I run the lnk_change.bat file to execute the lnk_change.ps1 windows script, then on the command line it says PowerShell.exe is not an internal or external command executable program or batch file. Please help me solve this problem.Win 10 home
bat file content:@ECHO OFF PowerShell.exe -NoProfile -ExecutionPolicy Bypass -Command "&'%~dpn0.ps1'" PAUSE
I tried to add the file to the environment variables but it did not help (