SharePoint Online: How to Hide Folders in Document Library and Show All Files?

When you have a complicated deep File-Folder structure, You may want to hide folders from the view and show all files without folders in the SharePoint document library view. Probably, you may want to use Metadata instead of Folders! How to hide folder in SharePoint Online document library? Here is how to…

Read more

SharePoint Online: Copy All Document Libraries to Another Site using PowerShell

Requirement: Copy All Document Libraries to another Site collection in SharePoint Online. PowerShell to Copy Document Libraries from One Site to Another Site Collection in SharePoint Online: In a migration project, I have a requirement to copy all document libraries from one site collection to another. Here is the PowerShell script I’ve…

Read more

SharePoint Online: Bulk Update Metadata Properties from a CSV File using PowerShell

Requirement: Bulk Update Metadata of Multiple Documents from a CSV in SharePoint Online. SharePoint Online: PowerShell to Bulk Edit Metadata Properties from a CSV File We’ve a document library with a 100s of documents in several sub-folders and wanted to bulk update metadata of all those documents. While quick edit is one…

Read more

How to Sync File Share to SharePoint Online using PowerShell?

Requirement: Sync Fileshare to SharePoint Online using PowerShell. PowerShell Script to Sync File share to SharePoint Online document Library: How to sync a file server to SharePoint Online? While my other script Migrate File Share to SharePoint Online using PowerShell imports files and folders from network file share to SharePoint Online, this…

Read more

SharePoint Online: How to Get a List using PowerShell?

Requirement: PowerShell to Get a List in SharePoint Online. SharePoint Online: PowerShell to Get a List Here is how to access SharePoint Online list programmatically using PowerShell. Let’s get a list by title: You can use this script to get any list or library from a given SharePoint Online site. PnP PowerShell…

Read more

How to Add File Size Column to SharePoint Online Document Library?

Requirement: Add file size column to SharePoint Online How to Show File Size in SharePoint Online? You can add the “File Size” column to any list view of the SharePoint Online document library to get the size of each file. Just follow these steps to add the file size column to SharePoint…

Read more

How to Set Permissions to a Document Library in SharePoint Online?

Requirement: Set Permissions on a SharePoint Online Document Library. How to Grant Access to a Document Library in SharePoint Online? Any document library created in SharePoint inherits permissions from its parent site by default. However, you may have to restrict access to a document library in SharePoint Online at times. Here are…

Read more

SharePoint Online: Copy a Document Library using PowerShell

Requirement: PowerShell to Copy a Document Library in SharePoint Online How to copy a Document Library in SharePoint Online? Well, there are no direct ways to copy a document library in SharePoint Online. However, You can use this workaround: Save the source document library as a template – Go to the source…

Read more

SharePoint Online: Copy a Document Library to another Site using PowerShell

Requirement: Copy document library to another site SharePoint Online using PowerShell How to copy a Document Library to another site in SharePoint Online? There are no direct ways to copy a document library in SharePoint Online. However, You can use this workaround: Save the source document library as a template – Go…

Read more

SharePoint Online: Import Files from a CSV using PowerShell

Requirement: Upload files from a CSV to SharePoint Online. SharePoint Online: How to Import Files from a CSV using PowerShell? We have got a CSV file with a list of files pointing to a network file share. We wanted to import all files from a CSV file to the SharePoint Online site….

Read more