How to Concatenate String in PowerShell?

Joining strings together is a common task in PowerShell scripting. As a PowerShell user, you must have come across the string concatenate operation. It is used to join two or more strings into a single string. Whether it’s for scripting, automation, or data manipulation, PowerShell offers several ways to combine strings. In…

Read more

Fix “An unexpected error has occurred. Please try again later” in the SharePoint Online Term store

Problem: SharePoint Online Term store gave an error, “An unexpected error has occurred. Please try again later.” when trying to populate the term store with new term store groups/term sets/terms. Solution: Add Term Store Administrator Add your account under the term store Admins! Here is how: Login to SharePoint Admin center >>…

Read more

Microsoft Teams: How to Enable Guest User Access?

Requirement: Allow guest users in Microsoft Teams. How to Enable Guest User Access in Microsoft Teams? Microsoft Teams is a great platform for collaborative work. In some cases, you may need to enable guest access for people outside your organization so that they can still participate in conversations and projects. Guest user…

Read more

How to Copy User Permissions in SharePoint Online using PowerShell?

Permission management in SharePoint Online is always a complex task, especially in large environments. Granting permissions in SharePoint becomes cumbersome when you are trying to clone an existing user’s access rights. Consider this scenario: You have an existing user in a department granted access to various SharePoint Sites, lists, folders, files, etc….

Read more

How to Bulk Invite Guest Users to Azure AD?

Requirement: Bulk invite guest users to Azure Active Directory. How to invite Multiple guest users in Azure Active Directory? In many business scenarios, you may need to bulk invite guest users to Azure AD. This means inviting a large number of guests at one time, rather than inviting them one at a…

Read more

How to Empty the Recycle Bin using PowerShell?

The Recycle bin in Windows stores deleted files temporarily before permanently deleting them. It allows you to restore accidentally deleted files if needed. However, the recycle bin can quickly fill up and take up disk space. Knowing how to empty the recycle bin using PowerShell can help free up space when needed….

Read more

PowerShell Split-Path: Get the File Name from Path

PowerShell is a powerful scripting language and automation framework developed by Microsoft. It provides a command-line interface that allows users to interact with their computer system, manage files and folders, and automate various tasks. When working with file paths, it often requires extracting the file name from the given path. This task…

Read more

SharePoint Online: How to Change the Author in Modern Page?

Requirement: Set Author in the header section of the modern SharePoint Online page. How to change the author in SharePoint Online Modern Pages? Setting the author field in SharePoint Online modern pages is relatively straightforward. Here are the steps to add or change the page author: PowerShell to Set Author in Modern…

Read more

How to Run an Executable in PowerShell using Start-Process?

Do you ever find yourself needing to launch an executable file from the Windows PowerShell command line? Running executable files in PowerShell can be a powerful and efficient way to automate tasks and perform various operations on your Windows system. Whether you’re a system administrator or a PowerShell enthusiast, understanding the different…

Read more

How to Rename a Folder in PowerShell?

Renaming a folder or file is a routine task that we often need to perform while working with files and folders. Manual folder renaming might seem like a quick task, but It can be tedious and time-consuming to manually rename folders and directories, especially if you have a large number of them,…

Read more