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

Loading...

Maintain distribution lists based on employee types

The script creates distribution lists for each employee type specified for users in Active Directory, and also updates user membership in the groups based on employee types of users.
March 17, 2021 Views: 2164

Make primary SMTP addresses unchangeable

The script will make it impossible for users to change the primary SMTP address of an Exchange mailbox or mail-enabled user.
February 24, 2021 Views: 2819

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: 18299

Manage shared mailbox members

The script modifies the list of members of a shared mailbox, i.e. people who can monitor the mailbox and send mail from it.
February 22, 2021 Views: 5316

Management activity of all users in container

The script exports the management activity of all users in the Organizational Unit or container on which it is executed to a CSV file.
February 18, 2021 Views: 1631

Mark user if automatic replies are enabled for their mailbox

The script marks a user if their Exchange mailbox is configured to send automatic replies (OOF messages).
August 04, 2016 Views: 1546

Members of all distribution lists

The script creates and emails an HTML report on members of all distribution lists in all AD domains managed by Adaxes.
February 24, 2021 Views: 1514

Members of groups based on property value

The script generates a report containing members of the groups that have a property with a specific value.
June 06, 2022 Views: 255

Members of local computer group

The script emails a report containing members of a local computer group
February 18, 2021 Views: 950

Message trace for online mailbox

The script retrieves message trace of an Exchange Online mailbox for the specified number of days and emails it as a CSV file.
May 08, 2023 Views: 184

Microsoft 365 licenses assigned to dynamic distribution list members

The script creates a CSV-formatted report on Microsoft 365 (Office 365) licenses assigned to members of a dynamic distribution list.
December 29, 2022 Views: 3141

Microsoft 365 licenses assigned to users

The script generates a report containing users assigned the specified Microsoft 365 licenses.
December 29, 2022 Views: 907

Microsoft 365 licenses information

The script generates a report that includes information on Microsoft 365 licenses.
October 28, 2021 Views: 631

Modify Storage Quotas after adding a user to a group

This script modifies mailbox storage quotas after adding a user to a group.
February 18, 2021 Views: 1584

Modify Web interface access rules using scripts

A function that demonstrates how to use PowerShell code to specify users and groups that are allowed or denied access to the Web interface.
March 17, 2021 Views: 1726

Move computer based on IP address

The script moves a computer in Active Directory based on its IPv4 address.
February 24, 2021 Views: 3185

Move home folder to different server and preserve permissions

The script moves a user's home folder to a different server preserving permissions for that folder.
February 24, 2021 Views: 3535

Move home folder with locked files

The script moves a user's home folder to another location. Unlike the built-in Move home folder action, it does not stop when unable to move a folder or file, and copies it instead. All locked items are listed in the Execution Log.
July 05, 2021 Views: 1836

Move large home folders

The built-in 'Move Home Directory' action can fail on large directories if the operation takes more than 10 minutes to complete. This PowerShell code works around this issue by creating a separate process to move a home folder.
February 18, 2021 Views: 2465

Move mailbox to/from Microsoft 365

The scripts are used to move a mailbox to or from Microsoft 365.
March 09, 2023 Views: 1196

Got questions?

Support Questions & Answers