Hello Ingrid,
This is a common issue, as running from network location requires a different unreactive session and thus a different execution policy. In this case, the users will receive an error that states that the Source is not trusted, then the program stops.
An option to fix this would be to set the policy as Unrestricted on the user computer before trying to execute the Script on the network share:
- Select Start > All Programs > Windows PowerShell version > Windows PowerShell.
- Type Set-ExecutionPolicy RemoteSigned to set the policy to RemoteSigned.
- Type Set-ExecutionPolicy Unrestricted to set the policy to Unrestricted.
- Type Get-ExecutionPolicy to verify the current settings for the execution policy.
- Type Exit.
------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--