Unable to execute the Powershell scripts on Windows 11

  • Thread starter Thread starter PrasanRP
  • Start date Start date
P

PrasanRP

Guest
Hi, I am trying to execute the "Powershell" scripts on Windows 11 which was working great in Windows10.But, I am unable to execute it on Windows 11. So, I have tried executing the PS1 script is multiple ways, 1. Right click -> Run Powershell=> Powershell screen was blinked and gone.2. Launched the Powershell cmdlet with administrator and navigated to the script file location. Then executed the PS1 file.=> refer the image for the error when we execute the script.3. Finally, I tried changing the execution policy using the Powershell cmdlet and I was able to execute my script (which wa

Continue reading...
 
Back
Top