- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Copy script to remote server
Trying to copy a script/file from a powershell host to remote host. Running winrm as local user, so executing a workflow to invoke a powershell script errors out with permission while copying files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
this is maybe to be expected. What are the permissions on the share where you want to copy the file? If you are using local account for the powershell host, that account most likely doesn't have permissions on the remote host, therefore cannot copy the script. You need to add the PS Host with domain account or ensure that the local account can authenticate on the remote share. Depending on the exact use case you might also need to enable CredSSP:
Using CredSSP with the vCO PowerShell Plugin
http://kaloferov.com/blog/using-credssp-with-the-vco-powershell-plugin/
Best Regards / Поздрави
Spas Kaloferov | Technical Solutions Architect