How to Convert Shared Mailbox to User Mailbox

Shared mailboxes in Microsoft 365 can be converted (back) to a user mailbox. This can be necessary when you need to access the mailbox directly (from an application or specific ... Read moreHow to Convert Shared Mailbox to User Mailbox

How to Convert User Mailbox to Shared Mailbox

When a user leaves the organization you might want to keep the mailbox available so other users can access it. Leaving a user mailbox active requires an Exchange Online license, ... Read moreHow to Convert User Mailbox to Shared Mailbox

Get MFA Status of Office 365 users with Microsoft Graph

Keeping track of your user’s MFA Status is important to keep your tenant protected. For now, we can still use the Msol module for this in PowerShell, but Microsoft is ... Read moreGet MFA Status of Office 365 users with Microsoft Graph

How to use Get-ADComputer in PowerShell

Need to export all computers from an OU, or look up a computer in your Active Directory? Or do you want to count how many computers you have? We can ... Read moreHow to use Get-ADComputer in PowerShell

How to use PowerShell String Contains

The Contains operator in PowerShell is a bit of a strange one. You probably want to check if a string contains a particular word or character. The -contains operator sounds ... Read moreHow to use PowerShell String Contains

How to Copy a File in PowerShell with Copy-Item

We can use PowerShell to copy a file from one location to another with the Copy-Item cmdlet. The location can be another local folder or a remote computer. Besides files, ... Read moreHow to Copy a File in PowerShell with Copy-Item

Set-Mailbox – Change Mailbox settings with PowerShell

The Set-Mailbox cmdlet in PowerShell allows us to change mailbox settings in Exchange Server and Exchange Online. We can use the cmdlet for example to change mailbox quotas, add an ... Read moreSet-Mailbox – Change Mailbox settings with PowerShell

New-PSDrive – How to use PowerShell Net Use alternative

We all know the Net Use command that we can use to map network drives from the command line. Although we can use Net Use in PowerShell, there is a ... Read moreNew-PSDrive – How to use PowerShell Net Use alternative

Net Use Delete – How to Remove Network Connections

When you want to remove network drives from your Windows 10 or 11 computer you could use explorer. Another option is to use the Net Use command. This way you ... Read moreNet Use Delete – How to Remove Network Connections

How to Create a New Local User with PowerShell

When you need to create a local user in Windows 10 or 11 you can use the User Accounts control panel. But we can also use PowerShell to create a ... Read moreHow to Create a New Local User with PowerShell

How to Add User to Group in PowerShell with Add-ADGroupMember

When you need to add multiple users to an Active Directory group then using PowerShell is really your best option. Instead of looking up all the users manually, you can ... Read moreHow to Add User to Group in PowerShell with Add-ADGroupMember

How to use PowerShell Grep equivalent Select-String

When you need to search through a string or log files in Linux we can use the grep command. For PowerShell, we can use the grep equivalent Select-String. We can ... Read moreHow to use PowerShell Grep equivalent Select-String

How to use Start Process in PowerShell

To run an application, process, or script from within PowerShell you could simply enter the path to file. But this will start the process in the same environment and within ... Read moreHow to use Start Process in PowerShell

How-to use Substring in PowerShell

When you want to extract a part of a string in PowerShell we can use the Substring() method. This method allows us to specify the start and length of the ... Read moreHow-to use Substring in PowerShell

How to Disable MFA in Office 365 Quickly with PowerShell

There are different reasons why you might want to disable MFA in Office 365. A user may have lost their phone or you want to migrate to a different MFA ... Read moreHow to Disable MFA in Office 365 Quickly with PowerShell

How to use Start-Transcript in PowerShell

When running PowerShell scripts automatically you will need a way to log any errors or warnings that occur. One option is to create your own log function, but there is ... Read moreHow to use Start-Transcript in PowerShell

How to Output to File with PowerShell Out-File Cmdlet

The output of PowerShell commands is by default displayed in the terminal. But in some situations, it’s more useful to redirect the output to a file in PowerShell. For this, ... Read moreHow to Output to File with PowerShell Out-File Cmdlet

Get MgUser

Get-MgUser: How to Get and Export Entra ID users with PowerShell

The Get-MgUser cmdlet gets and exports all our Entra ID users. Get-MgUser is part of the Microsoft Graph SDK for PowerShell. It allows us to interact with all Microsoft Services ... Read moreGet-MgUser: How to Get and Export Entra ID users with PowerShell

How to Install Microsoft Graph Module in PowerShell

The Microsoft Graph API allows us to interact with all Microsoft services through a single source. To do this from PowerShell, we always had to install different modules and make ... Read moreHow to Install Microsoft Graph Module in PowerShell

How to Install Azure AD module in PowerShell

When you want to use PowerShell to interact with your Azure AD environment you will need to install the Azure AD Module. This module allows you to manage your whole ... Read moreHow to Install Azure AD module in PowerShell

Get AzureADUser – How to Find and Export Azure AD Users with PowerShell

Just like with the on-premise Active Directory can we manage our users in Azure AD with PowerShell. For this, we will need to use the Get AzureADUser cmdlet in Powershell. ... Read moreGet AzureADUser – How to Find and Export Azure AD Users with PowerShell

Get-ADUser – How to Find and Export AD Users with PowerShell

The Active Directory is our main source when it comes to managing user accounts. The management console is great for looking up a single user, but when we need more, ... Read moreGet-ADUser – How to Find and Export AD Users with PowerShell

How to use PowerShell Replace to replace a String

Do you need to replace a string or character in PowerShell? Or do you want to insert complete text blocks into a file? Then the replace function in PowerShell is ... Read moreHow to use PowerShell Replace to replace a String

How to use Import-CSV in PowerShell

When working with PowerShell we can use CSV 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 use Import-CSV in PowerShell

How to use Get-ADGroupMember in PowerShell

Active Directory Groups allow you to easily assign permissions or software to your users. But how do you get all members of a group? To export or update all users ... Read moreHow to use Get-ADGroupMember in PowerShell

How to Whitelist an Email Address in Office 365

Threat policies in Exchange Online prevent phishing emails and malware from ending up in the user’s mailbox. But sometimes legitimate emails end up in the spam folder as well. Although ... Read moreHow to Whitelist an Email Address in Office 365

How to use Set-ADUser in PowerShell

Need to update multiple users in your Active Directory? Or looking for a more efficient way of modifying users’ properties? Then the Set-ADuser cmdlet in PowerShell is really going to ... Read moreHow to use Set-ADUser in PowerShell

How-to Run a PowerShell Script – All Options Explained

PowerShell scripts are a great way to automate tasks, gather information, or modify properties in bulk. Most PowerShell commands are only a single line that you can just copy and ... Read moreHow-to Run a PowerShell Script – All Options Explained

How to Get Mailbox Permissions with PowerShell – including CSV Report

How do you keep track of mailbox permissions in Exchange Online? Adding new permissions is easy and done quickly, but removing obsolete permissions is often forgotten. To keep track we ... Read moreHow to Get Mailbox Permissions with PowerShell – including CSV Report

SMTP Relay

How to Setup SMTP Relay in Office 365

Sending emails from a scanner or web application can always be challenging. You don’t want to use a mailbox (with username and password) for this, but preferable an SMTP server ... Read moreHow to Setup SMTP Relay in Office 365

PowerShell Profile

How to Create a PowerShell Profile – Step-by-Step

Do you want to get more out of your PowerShell? Then make sure you configure your PowerShell Profile to boost your PowerShell console. The PowerShell Profile is a script that ... Read moreHow to Create a PowerShell Profile – Step-by-Step

Get OneDrive Storage Metrics Report with PowerShell

Do you know how much OneDrive storage your users are using? Probably not, and in most cases, it also doesn’t really matter. They get 1TB of storage with most Microsoft ... Read moreGet OneDrive Storage Metrics Report with PowerShell

Office 365 Mailbox Size Report with PowerShell

Keeping track of your Office 365 Mailbox sizes is important. You don’t want the mailboxes of your users to reach their send and receive quota, to prevent errors like “Mailbox ... Read moreOffice 365 Mailbox Size Report with PowerShell

How to Check PowerShell Version

The PowerShell version determines which features you can use. So before you can run a specific script or cmdlet, you might need to check which PowerShell version you are using. ... Read moreHow to Check PowerShell Version

How to Download a File with PowerShell

PowerShell is a great scripting language to write all kinds of scripts. But did you know that you can also download a file with PowerShell? You can use PowerShell to ... Read moreHow to Download a File with PowerShell

Export CSV

How to use Export-CSV in PowerShell

With PowerShell, you can extract all kinds of information from services like Active Directory or Microsoft 365. But sometimes you need to process this information further in Excel or another ... Read moreHow to use Export-CSV in PowerShell

PowerShell SSH Client and Remoting Explained

Do you need to manage a remote server or network device? Then you are probably using SSH to connect and manage them. The SSH protocol allows you to connect securely ... Read morePowerShell SSH Client and Remoting Explained

How To Uninstall Microsoft Store and the Apps

Every new Windows 10 computer comes with Microsoft Store and pre-installed apps. Most people don’t want the pre-installed apps, so how can you uninstall Microsoft Store Apps? And how can ... Read moreHow To Uninstall Microsoft Store and the Apps

How To install apps on Windows 10 without Store

With Microsoft Store, you can easily install apps on your Windows 10 device, just like with Google Play or the Apple App Store. IT departments often remove the Microsoft Store ... Read moreHow To install apps on Windows 10 without Store

Assign Users to Azure AD Application with PowerShell

Azure AD Enterprise Applications are a great way to connect third-party applications to your Azure Active Directory. Depending on your Azure AD plan you can assign either single users to ... Read moreAssign Users to Azure AD Application with PowerShell

How to use Azure Automation – Complete Guide

Azure Automation is one of the most popular tools to run PowerShell scripts in the cloud. You can not only manage your Azure environment with the runbooks but also your ... Read moreHow to use Azure Automation – Complete Guide

Powershell Sleep – Pause your Script

Sometimes you will need to add suspend or pause your PowerShell script for a couple of seconds. For example when you are using a do-while loop to check if a ... Read morePowershell Sleep – Pause your Script