Scripts repository
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.
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.
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).
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.
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.
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).
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.
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.
Members of local computer group
The script emails a report containing members of a local computer group
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.
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.
Microsoft 365 licenses assigned to users
The script generates a report containing users assigned the specified Microsoft 365 licenses.
Microsoft 365 licenses information
The script generates a report that includes information on Microsoft 365 licenses.
Modify Storage Quotas after adding a user to a group
This script modifies mailbox storage quotas after adding a user to a group.
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.
Move computer based on IP address
The script moves a computer in Active Directory based on its IPv4 address.
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.
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.
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.
Move mailbox to/from Microsoft 365
The scripts are used to move a mailbox to or from Microsoft 365.