PowerShell script: Import Files from local to Document Library list

You are investing
in SharePoint Server 2013 and you want to bring all files in a folder from
local to 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 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.



Muhammad Piracha
wrote
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 “Open with Explorer” option available from the Library Ribbon if you have Office desktop version installed on the computer. Library will show up as a folder in the Windows Explorer. It is very easy to drag and drop files to library. This is a good option for someone who is uncomfortable with Power Shell.

All SharePoint Versions

The web parts are functional components that extend your SharePoint environment whether it’s hosted, on-premises, or part of Microsoft® Office 365.

SharePoint 2013, 2016, 2019, Online (Office 365)

On-Premises Only

These web parts extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of SharePoint Web Parts.

SharePoint 2013, 2016, 2019

SharePoint

Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.


Essentials Suite


Essentials Plus Suite


Bamboo Premier Suite


Project Management Suite


Knowledge Management Suite


External User Manager


 

For more information on our product suites, contact us.

Featured Services

SharePoint Health Check

A SharePoint Health Check will identify the causes of issues and risks associated with your specific environment, and is custom tailored to provide you with the best recommendations to optimize your SharePoint environment.

SQL Health Check

Document recommendations relating to performance, stability, availability, or a specific focus you request of your SQL Server database instances.

My SharePointXperts

The truth is that each SharePoint skill may not be a full time job for many organizations, and it is nearly impossible for one person to do everything you need – so augment your team with SharePointXperts; providing the skill sets you need when you need them!