I have a powershell script that I need to run remotely on around 500 servers. The script runs successfully on few of the servers but on few it fails because of the execution policy. The script fails on the servers in which the execution policy is set to either "Restricted" or "bypass".
Is there a way to ignore the execution policy on the servers so the script can be executed successfully?