It's probably Powershell's execution policy that is blocking the script. Set it to RemoteSigned or Bypass.
exe created from powershell script using IEXPRESS, is not working in client PCs
I have successfully created an exe file from PS1 file. the exe is working in my computer (Win11). the same exe is copied to other client computer (Win11) in my network and domain as well. but the exe is not getting executed. a window with blue screen appears for a fraction of second and disappears before I see what is displayed on the screen.
the same issue occurring in other four computers (Win11 and Win10).
No clue why the exe is not working on other Computers.