
New cmdlet coming to Change Meeting Organizer with PowerShell
One of the common problems when users leave an organization are the recurring meetings they have created. Currently, we can’t change the owner of the meetings, meaning the only option ... Read moreNew cmdlet coming to Change Meeting Organizer with PowerShell

How to use Connect-SPOService in PowerShell
To manage SharePoint Online from PowerShell you will need to use the Connect-SPOService cmdlet. But getting the cmdlet running is sometimes a bit challenging. Even after installing the module, one ... Read moreHow to use Connect-SPOService in PowerShell

How to Generate a Self Signed Certificate in Windows
When you create a script or app that authenticates with a service like Microsoft Entra ID you typically have two options when it comes to authentications. You can either use ... Read moreHow to Generate a Self Signed Certificate in Windows

How to use the Update-MgUser cmdlet in PowerShell
The Update-MgUser cmdlet in PowerShell allows you to update Microsoft 365 user attributes. This is especially useful when you are automating workflows or need to update attributes of multiple users ... Read moreHow to use the Update-MgUser cmdlet in PowerShell

Get all Planner Plan in Microsoft 365 with PowerShell
One of the things I really miss in Microsoft 365 is an overview of all Planner plans. Even with all the different Admin Centers we currently have, we still don’t ... Read moreGet all Planner Plan in Microsoft 365 with PowerShell

How to use Set CalendarProcessing in PowerShell
The Set CalendarProcessing cmdlet in PowerShell can be used to manage calendar settings on resource mailboxes. The cmdlet can not be used for user mailboxes; for this, you will need ... Read moreHow to use Set CalendarProcessing in PowerShell

Set-MailboxJunkEmailConfiguration Explained
Everybody’s mailbox is flooded with junk emails by default. Luckily, Outlook and Exchange Online are getting better every year at detecting junk emails automatically. Users can also add email addresses ... Read moreSet-MailboxJunkEmailConfiguration Explained

Export Users with Admin Role in Microsoft 365
Keeping track of users with admin roles in Microsoft 365 is important to ensure that no user has more permissions than required. What I often see when a user needs ... Read moreExport Users with Admin Role in Microsoft 365

AzureAD and MSOnline Module Retirement – What you need to know
The retirement of the AzureAD and MSOnline PowerShell modules has been postponed for more than 2 years, but it’s now finally happening. Especially the MSOnline module was still needed for ... Read moreAzureAD and MSOnline Module Retirement – What you need to know

Adding a New Line in PowerShell
When writing script output to the console, or a text file, you often want to format it for readabliltiy. A common way for this in PowerShell, is to use line ... Read moreAdding a New Line in PowerShell

How to use cURL in PowerShell
The command-line tool cURL (client URL) is commonly used to send or receive data to a server. The tool’s advantage is that it supports multiple protocols and offers features like ... Read moreHow to use cURL in PowerShell

How to Stop a Service with PowerShell
Services run continuously in the background on computers. But sometimes you need to stop a service before you can perform a specific task. We can do this with the Stop-Service ... Read moreHow to Stop a Service with PowerShell

Get-UnifiedGroup – Manage Microsoft 365 Groups
The Get-UnifiedGroup cmdlet is part of the Exchange Online module and allows you to view all Microsoft 365 Groups. When you combine the cmdlet with the Get-UnifiedGroupLinks cmdlet, then you ... Read moreGet-UnifiedGroup – Manage Microsoft 365 Groups

Read a File Line by Line in PowerShell
We can use PowerShell to read a file line by line, whether it’s a text file or a CSV file. This method allows us to process information from each line ... Read moreRead a File Line by Line in PowerShell

PowerShell Array Contains Explained
Arrays allow you to store multiple values in one variable. This way you can easily loop through each value and process it in your script. But sometimes you need to ... Read morePowerShell Array Contains Explained

Control SharePoint Storage with Version History Limits
A common problem with SharePoint storage is that you can run out of storage space quickly. You can buy extra storage but as you might know, that is quite expensive. ... Read moreControl SharePoint Storage with Version History Limits

How to Get File Version in PowerShell
We can use PowerShell to get the file version of any file on your computer. Getting the version information can be useful to check if a software update or deployment ... Read moreHow to Get File Version in PowerShell

How to Wait for a Command in PowerShell
When you run a command or start a process from PowerShell, you often want to wait for the command or process to finish, before the script continues. The easiest option ... Read moreHow to Wait for a Command in PowerShell

Create a Folder if not Exists with PowerShell
Before you are going to create a folder, it’s important to check if it doesn’t exist already. Especially when you are creating scripts that will run automatically. If you don’t ... Read moreCreate a Folder if not Exists with PowerShell

How to Check if Folder Exists in PowerShell
Before you store a file in a folder or try to read a file from a folder, it’s a good idea to check if the folder exists in PowerShell. This ... Read moreHow to Check if Folder Exists in PowerShell

How to Check if File Exists in PowerShell
Before you try to read or write to a file in PowerShell, it’s important to check if the file actually exists. This will prevent errors, which can cause your script ... Read moreHow to Check if File Exists in PowerShell

Use Get-MSALtoken to Connect to MS Graph
There are a lot of different ways you can connect to Microsoft Graph. One option is to use the Get-MSALToken cmdlet, which allows you to get an access token from ... Read moreUse Get-MSALtoken to Connect to MS Graph

PowerShell tiPS Module
With PowerShell, you can truly learn something new every day if you want. There are tons of great modules, tips, and tricks that we can use. But how do you ... Read morePowerShell tiPS Module

Steps to Install Exchange Online PowerShell Module
To manage Exchange Online we can use the Exchange Admin Center, but often it’s faster and more convenient to use PowerShell. Before you can connect to Exchange Online, you will ... Read moreSteps to Install Exchange Online PowerShell Module

PowerShell Do While Loop Explained
Loops are one of the basic functions in any programming or scripting language. One of those loops is the Do While loop, which executes a piece of code while the ... Read morePowerShell Do While Loop Explained

How to Reset MFA Office 365
Having MFA enabled in your Microsoft 365 tenant is important to protect your environment, but it does sometimes come with some challenges. When a user forgets their password, you can ... Read moreHow to Reset MFA Office 365

How to Get the Computer Name with PowerShell
PowerShell has a lot of cmdlets, but strange enough not really one that returns only the computername. But that doesn’t mean we can’t get the name of the device, there ... Read moreHow to Get the Computer Name with PowerShell

The Best PowerShell Cheat Sheet
Looking for a good PowerShell cheat sheet? Then you are in the right place. I have been working with PowerShell for the last 10 years. During that time I have ... Read moreThe Best PowerShell Cheat Sheet

PowerShell Operators [Complete Guide]
When using PowerShell you can use a wide variety of operators in your script. They can be used in commands or expressions and are used to perform comparisons, define conditions, ... Read morePowerShell Operators [Complete Guide]

How to use New-ADUser cmdlet in PowerShell
Creating new users in the Active Directory is a common task for system administrators. You can do this manually in the ADUC, but a better and faster way is to ... Read moreHow to use New-ADUser cmdlet in PowerShell

Using the Get-MgGroup cmdlet in PowerShell
The Get-MgGroup cmdlet is an easy way to get and manage your Microsoft 365 groups. It allows you to get all or specific groups with their properties. The Get-MgGroup cmdlet ... Read moreUsing the Get-MgGroup cmdlet in PowerShell

How to Import Excel in PowerShell
When working with PowerShell we can use Excel files to import data into systems or to use it as a reference list, of users, for example, to update or get ... Read moreHow to Import Excel in PowerShell

Top 5 PowerShell Modules You Need to Know About
I have been using PowerShell for quite some years now, and over the years I have installed a lot of PowerShell modules. Most are purely functional, to connect to Exchange ... Read moreTop 5 PowerShell Modules You Need to Know About

What is the PowerShell Echo Equivalent?
The Echo command is a common way to output something to the console when using batch or shell scripts. But in PowerShell, Echo is not an actual cmdlet. So what ... Read moreWhat is the PowerShell Echo Equivalent?

How to Move a File with PowerShell
When you need to move a lot of files or move specific files on multiple computers, then PowerShell is a great tool to use. With PowerShell, we can quickly write ... Read moreHow to Move a File with PowerShell

PowerShell – Check if variable is Null or Empty
One of the most common tasks when writing a script is to check if a variable is NULL or Empty in PowerShell. Null or empty values are always a bit ... Read morePowerShell – Check if variable is Null or Empty

How to create a PowerShell Function
When you need to reuse a part of your scripts multiple times or need to run the same code with only different values, then you should create a PowerShell Function. ... Read moreHow to create a PowerShell Function

How to use PowerShell Write Output
The PowerShell Write-Output cmdlet is used to send an object or variable to the PowerShell pipeline. When it’s the last command in a pipeline, then the output is displayed in ... Read moreHow to use PowerShell Write Output

How to Delete Folders with PowerShell Remove-Item
Deleting folders and cleaning up directories can be a time-consuming task, especially when you need to perform the same task on multiple computers. With PowerShell, we can easily create a ... Read moreHow to Delete Folders with PowerShell Remove-Item

How to Import Users in Active Directory with CSV
When you need to bulk add new users to your Active Directory, then the easiest method is to import them. To do this we can use a CSV file and ... Read moreHow to Import Users in Active Directory with CSV

How to use Connect-MgGraph – All Options
The Microsoft Graph module in PowerShell allows you to interact with different Microsoft 365 services. But to use the module, you will first need to connect to Microsoft Graph, using ... Read moreHow to use Connect-MgGraph – All Options

How to get MFA Status from Microsoft Entra
When you enable the security defaults or enable per-user the MFA, then at some point you want to check if and what they have configured for the Multifactor Authentication. Which ... Read moreHow to get MFA Status from Microsoft Entra