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 alias to the mailbox, set folder permissions, or even change the mailbox language. In this … Read moreSet-Mailbox – Change Mailbox settings 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 quickly add users to the group with PowerShell. Adding or removing users from AD groups … Read moreHow to Add User to Group in PowerShell with Add-ADGroupMember

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, we are going to use the Out-File cmdlet. There are different ways to output the … Read moreHow to Output to File with PowerShell Out-File Cmdlet

Get-MgUser: How to Get and Export Azure AD users with PowerShell

Get MgUser

Starting from Dec 2022 we will need to use the Get MgUser cmdlet to get and export our Azure AD users. Get-MgUser is part of the Microsoft Graph SDK for PowerShell. It allows us to interact with all Microsoft Services through a single endpoint. All … Read moreGet-MgUser: How to Get and Export Azure AD users with PowerShell