Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

How to upload files to sharepoint 2010 (without using the sharepoint commandlets)

$
0
0

How can I use PowerShell to upload a file from a Win 7 workstation to http://sharepoint/Shared Documents/stuff?

Everything I have found talks about using the PowerShell command-lets like Get-SP on the SharePoint server, but I do not have access to the console so anything that must be run from the SharePoint server is out. I tried to see if I could install just the PowerShell extensions on my system but that too appears to not be possible. Since I am not an administrator on the SharePoint server I cannot enable remote PowerShell commands, so I must upload the file through other using methods available to a standard site admin. I can manually map a drive and manually upload the files.

The reason I am asking is I have another script that generates html reports, but I have to manually upload them to the SharePoint site each day. Ideally I would like to create a scheduled task that automatically grabs the file from a UNC share and then uploads them to a subfolder off Shared Documents.

Any guidance would be appreciated.


Viewing all articles
Browse latest Browse all 2562

Trending Articles