We use cookies to improve your experience.
By your continued use of this site you accept such use.
For more details please see our privacy policy and cookies policy.

Scripts repository


Convert user mailbox to a resource mailbox in Exchange Online

The script converts an Microsoft 365 (Office 365) user mailbox to a room or equipment mailbox in Exchange Online.
May 08, 2023 Views: 33775

Run script in new PowerShell instance

The examples show how to launch a script from a Business Rule, Custom Command or Scheduled Task in a new PowerShell instance.
May 12, 2023 Views: 21514

Output the last time a distribution list received mail

This script outputs the last time when a distribution list received mail.
May 08, 2023 Views: 19861

Manage multi-factor authentication for a user in Microsoft 365

The scripts are used to enable, disable or reset multi-factor authentication for a user in Microsoft 365 (Office 365).
May 05, 2021 Views: 18889

Check multi-factor authentication status for a user in Microsoft 365

The script outputs the state of multi-factor authentication for a user in Microsoft 365 (Office 365) into the execution log.
May 28, 2021 Views: 17478

Upload user photo to Microsoft 365

The scripts upload a user's photo to Microsoft 365 (Office 365). The photo will appear in client applications, such as Microsoft Outlook Web App, Lync, Skype for Business, and SharePoint.
May 08, 2023 Views: 14388

Connect to Exchange with PowerShell

The script demonstrates how to connect to Exchange from Adaxes with the help of PowerShell.
August 31, 2023 Views: 13008

Send notification if number of unused Microsoft 365 licenses falls below limit

The script sends an email notification if the number of unused licenses for any license plan enabled in any of Microsoft 365 (Office 365) tenants falls below a specific limit.
April 14, 2022 Views: 11249

Remove all group memberships for a user account

The scripts remove the target user account from all groups including cloud ones.
July 21, 2023 Views: 11079

Set ExchangeGuid for user remote mailbox

The script updates ExchangeGuid of a user remote mailbox with the GUID of the mailbox in Exchange Online.
May 08, 2023 Views: 11043

Import new and updated users from CSV file

The scripts are used to update existing and create new user accounts based on the data in the CSV file.
May 03, 2023 Views: 10425

Enable remote mailbox

The script enables a remote mailbox for a user.
February 22, 2021 Views: 9016

Verify complexity requirements for user password

The script checks whether a password that is assigned to a user meets Password Complexity Requirements and has the required minimum length.
May 25, 2021 Views: 7755

Force Active Directory Synchronization with Microsoft 365

The scripts force Active Directory Synchronization with Microsoft 365 (Office 365).
May 31, 2023 Views: 7121

Automatically update SIP address

This script automatically sets a user's SIP address the same as the primary SMTP address.
February 18, 2021 Views: 6992

Remove Direct Reports from manager

This script removes Direct Reports from a manager.
February 18, 2021 Views: 6924

Update country code and country name

This script automatically updates the Country Name and Country Code attributes based on a 2-letter country code specified for Country.
February 18, 2021 Views: 6859

Import user information from SQL database

The script updates user accounts in Active Directory based on information in an SQL database. If a user does not have an account in Active Directory, the script will create it based on the information available in the database.
February 18, 2021 Views: 6533

Check whether user has mailbox in Exchange Online

The script checks whether the user on which it is executed has a mailbox in Exchange Online.
January 18, 2023 Views: 6327

Create username automatically

This PowerShell function can be used to create a username for a new user automatically based on values of the user properties.
February 18, 2021 Views: 6144

Got questions?

Support Questions & Answers