Powershell copy-items not working when run from c# service
I have a service that reads from a database a string that is a powershell script. The code snippet from the c# service is:
I have a service that reads from a database a string that is a powershell script. The code snippet from the c# service is: