script not executing on remote PC
In Intune, I created a policy to execute a script on a remote PC. It's a PowerShell script that creates a directory. I have copied over the script on the remote machine and verified it executed successfully but it doesn't work after configuring Intune. I created it in 'Devices', Scripts and remediation', 'Platform script'. There is a setting called "Run this script using the logged on credentials" and that is set to 'Yes'. Also, 'Enforce script signature check' is set to no. 'Run script in 64 bit PowerShell Host' is set to No. I have verified under 'Assignments' in the 'Included groups' it has the correct group with my test PC. Any thoughts.