PowerShell

How to Copy a SharePoint Site With PowerShell (+Script)

How to Copy a SharePoint Site With PowerShell (+Script)

Want to copy a site? In this guide, I will walk you through the steps of copying a site using PowerShell. Let’s get started. What does copying a site mean? As the word suggests, copying a site means creating a duplicate copy with its structure, and settings. The main components involved here are: Those experienced in SharePoint Online like it because it’s a safe way to experiment with changes without affecting the live site. The problem nowadays is that there’s no “save as template” feature anymore in modern site templates. 😅 ⚠️ Note: The method that I will describe here […]

How to Copy a SharePoint Site With PowerShell (+Script) Read More »

How to Bulk Upload Files to SharePoint Using PowerShell

How to Bulk Upload Files to SharePoint Using PowerShell

Want to bulk upload files with PowerShell? In this guide, I will walk you through the steps for bulk uploading files to SharePoint using only PowerShell. Let’s get started. How to Bulk Upload Files Fortunately, bulk uploading files to SharePoint with PowerShell is straightforward. ⚠️ Note: By the way, I will be using PnP PowerShell here, so no need for web server extensions or something. 🙂 Here’s a script you can use: The script above will basically retrieve the files from the local folder. After that, it will loop through each file and upload them to the SharePoint library. You

How to Bulk Upload Files to SharePoint Using PowerShell Read More »

How to Upload Files to Sharepoint Online Using PowerShell

How to Upload Files to SharePoint Online Using PowerShell

Want to use PowerShell to upload files? In this guide, I will walk you through the steps of using PowerShell to upload files to SharePoint Online. Let’s get started. Why use PowerShell to upload files? Uploading files to SharePoint Online using PowerShell offers automation and efficiency. Benefits: This approach is especially useful for IT administrators and power users who handle large volumes of data. Additionally, PowerShell scripts can be modified and reused, making them a versatile tool for ongoing tasks. Uploading a Single File Uploading a single file to SharePoint Online using PowerShell is straightforward. Here’s the complete PowerShell script:

How to Upload Files to SharePoint Online Using PowerShell Read More »

How to Connect to Microsoft Teams With Powershell (+Cmdlets)

How to Connect to Microsoft Teams With PowerShell (+Cmdlets)

Want to use PowerShell with Teams? In this guide, you will learn how to easily connect to Microsoft Teams using PowerShell and the cmdlets you can use. Let’s get started! Requirements and Permissions First, make sure you’re running a PowerShell 5.1 or higher for best compatibility with Microsoft Teams cmdlets. You can check the version using this command: For the permissions, you must have Teams administrator privileges within your organization (global or service). Like this: Related: The SharePoint Admin Role (Complete Guide for Beginners) Some cmdlets in the Microsoft Teams module might also require additional permissions or roles assigned to

How to Connect to Microsoft Teams With PowerShell (+Cmdlets) Read More »

How to Hide SharePoint Search Box Using PnP PowerShell

How to Hide SharePoint Search Box Using PnP PowerShell

Can you hide the search box? In this guide, you will learn how to easily hide the search box in SharePoint using PnP PowerShell, and how to turn it back. Let’s get started! Benefits of Hiding the Search Box Why bother hiding the search box? Well, it can offer several benefits, such as: If you’re here, it’s likely that you want to limit what’s searchable for users on a certain site. Since the search box is hidden, it can add an extra layer of control over how information is accessed. How to Hide the Search Box in SharePoint Fortunately, hiding

How to Hide SharePoint Search Box Using PnP PowerShell Read More »

How to Change the Date Format in SharePoint Online Using Powershell

How to Change the Date Format in SharePoint Online Using PowerShell

Need to change the date format in SharePoint? In this guide, you will learn how to easily change the date format in SharePoint using PowerShell, and the normal way to do it. Let’s get started! Why change the date format? Changing the date format in SharePoint Online is especially important for organizations that operate internationally. This makes sure of the following: Naturally, a mismatch between date formats can lead to confusion, errors in data entry,  and project timelines. Multinational teams that rely on consistent date representations for scheduling and reporting would be get affected. How to Normally Change the Date

How to Change the Date Format in SharePoint Online Using PowerShell Read More »

How to Decode a SharePoint Online URL Using Powershell

Need to decode a SharePoint URL? In this guide, you will learn how to decode a SharePoint URL using PowerShell, as well as to get the reverse. Let’s get started. What is URL decoding? URL decoding is particularly useful when dealing with web addresses that may contain special characters or spaces. These encoded URLs become a bit complicated to read since there would be a lot of percent signs and numbers. Decoding URLs in SharePoint is important for administrators and developers for the following reasons: The encoding replaces the unsafe ASCII character set with a percent sign and two hexadecimal

How to Decode a SharePoint Online URL Using Powershell Read More »

How to Get the User Created Date in Microsoft 365 (Guide)

How to Get the User Created Date in Microsoft 365 (Guide)

Need to find a user’s created date? In this guide, I will show you how to easily find the user created date in Entra (Azure AD) as well as using PowerShell. Let’s get started. Why find the creation date? There are several reasons why you might want to find the user creation date: It’s especially important when you need to maintain an efficient and secure IT environment and ensure compliance. For admins, this can help them make informed decisions about provisioning, auditing, and decommissioning users. How to Find the User Created Date in Entra Here’s what you need to do:

How to Get the User Created Date in Microsoft 365 (Guide) Read More »

How to Generate a Random Password in PowerShell

How to Generate a Random Password in PowerShell (2025)

Want to use PowerShell for generating passwords? In this guide, you will learn how to generate a random password with PowerShell, along with a few more advanced options. Let’s get started! Why use PowerShell as a password generator? We have quite a few password generators these days, and many of them integrate with a lot of software and browsers. However, there are still a lot of people who are comfortable with using PowerShell for generating passwords. Here are some of their reasons: Since PowerShell is highly customizable, you can use it to generate passwords that meet specific criteria. Examples are:

How to Generate a Random Password in PowerShell (2025) Read More »

Scroll to Top