SharePoint Online: Download Multiple Files from a CSV using PowerShell

Requirement: Download all files from a CSV file in SharePoint Online. PowerShell Script to Bulk Download All Files from a CSV in SharePoint Online When you have a large number of files to download from SharePoint Online sites, You can automate the process using CSV and PowerShell. In this blog post, we…

Read more

How to Use PowerShell to Create a File: A Step-by-Step Guide

Requirement: Create a file in PowerShell. How to create a new file in PowerShell? Creating and managing files is a key task in any system administration or scripting role. PowerShell has a vast array of commands that provide easy ways to create, read, write, and delete files right from the command line…

Read more

PowerShell: Check If a File Exists

Requirement: Check if a file exists in PowerShell. How to check if a file exists in PowerShell? PowerShell is an amazing tool that allows you to automate tasks and manage your Windows operating system. One of the most basic tasks you can do in PowerShell file management is to check if a…

Read more

Download SharePoint Documents from CSV File using PowerShell

Requirement: Download files in the SharePoint document library from a CSV file to a local disk. PowerShell Script to Download Documents from SharePoint : If you need to quickly and easily download your SharePoint documents from a CSV file, PowerShell is the tool for you. This quick guide will show you how…

Read more

How to Rename a File in PowerShell?

Requirement: Rename a file using PowerShell. PowerShell to Rename a File Dealing with messy, disorganized filenames is a common headache for any computer user. You download files from the internet with random numbers or duplicate names. You have folders with images named DSC0001, DSC0002, and so on. Or you need to quickly…

Read more

SharePoint Online: Get File Size using PowerShell

Requirement: Get file size in SharePoint Online using PowerShell. How to Get the File Size in SharePoint Online? Have you ever needed to get the size of a file in SharePoint Online? Maybe you need to know how much storage space is occupied by a file in your SharePoint Online document library….

Read more

SharePoint Online: Link to Force Download a Document Instead of Open

Requirement: Force download a file instead of opening it in SharePoint Online. SharePoint Online: URL to Document Download Instead of Open Documents (Word/Excel/PowerPoint files/PDF file types) linked in SharePoint Online pages, navigation menu, lists, etc., open in the browser (or in client application!) directly either in Read-only mode or in Edit mode,…

Read more

SharePoint Online: Upload Large Files using PowerShell

Requirement: Upload large files to SharePoint Online using PowerShell. PowerShell to Upload a large file to SharePoint Online Suppose you try to upload files with > 250 MB file size to SharePoint Online using CSOM Files.Add method, or PnP PowerShell Add-PnPFile methods you’ll end up in errors: To mitigate the errors Here…

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? Are you looking to add a column to your SharePoint Online document library that displays the size of each file? Well, You can add the “File Size” column to any list view of the SharePoint Online…

Read more

SharePoint Online: Find All Files Exceeding the Maximum URL Length Limitation using PowerShell

Microsoft Office Excel files stored in deep Folders, sub-folder structures with long names often result in an error when they exceed the maximum file URL length of 218 characters, as in my other article SharePoint Online: URL Length Limitation of 218 Characters in Excel Files. So, we wanted to proactively scan the…

Read more