cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using WEBDAV in a Windows PowerShell script

Former Member
0 Likes
1,047

Hello,

I am trying to write a Windows PowerShell script to copy a file from my SharePoint site to a DB repository folder using a WEBDAV link. I am not getting it to work.

When I copy from SharePoint to SharePoint it works. I have used my credentials on the script which has the authorizations but it still isn't working. The response error is a 500 Internal Server error.

Any ideas?

Has anyone done this before?

Thanks,

Matt

View Entire Topic
Former Member
0 Likes

Using Portal Drive to create a local drive (G:) I was able to use the copy command in my script.

Thanks,

Matt