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.
Muhammad Piracha
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.
SharePoint Online
The cloud parts are functional components that extend your SharePoint Online environment in Microsoft 365.
Supports Classic and Modern sites for SharePoint Online/Microsoft 365
Small Business Pricing and Discounts
SharePoint
Top SharePoint Online Products
Experience greater power and savings by bundling our SharePoint apps and cloud parts.
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 2016, 2019, 2022 – Classic Pages Only
SharePoint
Top On-Premises Only Products
Experience greater power and savings by bundling our SharePoint apps and web parts.
Our team of Microsoft 365 Technology Consultants helps you get the most out of your Microsoft technology, we have the best Microsoft 365 talent to streamline your organization.
Consulting to Streamline Your Department
M365 Plus
Managed Services
Microsoft 365
Consulting to Streamline Your Department
Our Consultants Have What You Need
Federal Contractors
Microsoft 365
Our Consultants Have What You Need