You are investing in SharePoint Server 2013 and you want to bring all files in a folder from local to the SharePoint list. This script helps you automatically create a new Document Library list and import all files from a local folder to a Document Library list.
Here is the file code: CreateDocumentLibrary.ps1
How does it work?
Example: Your server has a lot of files in C: Temp folder that you need to import to the SharePoint list.
Step 1: Click here to download: CreateDocumentLibrary.ps1
Run Create DocumentLibrary.ps1file with PowerShell.
Step 2: Input your chosen parameters as pictured below and click Enter.
Step 3: The PowerShell script will show the results while creating the lists.
Step 4: Go to your site to see the final results.
re: PowerShell script: Import Files from local to Document Library list
on Tue, Dec 22, 2015, 9:11 AM
Thank you Chau for a handy tip. There is also the “Open with Explorer” option available from the Library Ribbon if you have the Office desktop version installed on the computer. The library will show up as a folder in Windows Explorer. It is very easy to drag and drop files to the library. This is a good option for someone who is uncomfortable with Power Shell.