We have System Center Configuration Manager version 1902 managing our devices.
I would like to use the nice feature "Run Script", which runs PowerShell scripts on an entire collection of devices, but all our devices have the ExecutionPolicy set to AllSigned (it's a company policy).
It is not working, the script running locally in each device (created by SCCM), isn't digitally signed, so it won't run and returns a blank or a weird "8" value output to SCCM.
On devices with RemoteSigned or Unrestricted ExecutionPolicy (for testing), it works fine, the output return is correct.
Is there a solution to that? Without changing the PowerShell Execution Policy?