Dear all,
I had used codeplex site code for a fileserver - folder copy to Sharepoint 2010 document library.
https://spfileupload.codeplex.com/releases/view/53408
This works as a charm when I run it manually from fileserver folder to Sharepoint libary.
When I run it on the console - I do the following things.
1. Get-SPScripts.copy-filestosp
2. Import-module
3. running the command specified in the Docmanifest.xml --> Copy-FilestoSP -LocalPath\\x.x.x.x\groups\IT\SOP -SiteUrl http://intranet/verticals/IT -Library "Projects" -ManifestFilePath "d:\Code\DocManifest.xml" - IncludeSubFolders -Overwrite
My requirement:- I want to run this script and automatic sync/schedule should happen to SharePoint document library. i had tried creating the task for Get-Spscripts.copy-filestosp - but this is not working - as I need to do import-module and the command specified above.
I am going through the powershell videos to understand it better.
Let me know if you can provide inputs.
Cheers
Sathya