Script repository
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 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 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.
Move SharePoint folder
This script moves a user's SharePoint folder to another location within the same SharePoint site.
Notify users on pending approval requests initiated by them
This script notifies a user with a list of pending Approval Requests they initiated,
Notify users on Requests awaiting their approval
Scripts to notify users on Approval Requests they need to approve or deny.
Objects located in multiple OUs
The script generates a report containing objects located in the OUs selected in a report parameter.
Optimize User Photo
The script optimizes uploaded user photos to fit within the limit set by Active Directory (100 kilobytes) and best view in Adaxes (80x80 pixels).
Output BitLocker recovery password
The script outputs a BitLocker recovery password of a computer.
Output the last time a mailbox received mail
This script outputs the last time when a mailbox received mail.
Password self-service enrollment statistics
The script generates a report containing Password self-service enrollment statistics.
Perform actions upon changes in group membership (including changes made by 3rd party tools)
The script allows you to execute Custom Commands when membership of an AD group changes, no matter whether the changes were made using Adaxes or any 3rd party tools, such as ADUC or Exchange.
Prevent users from being added to groups in other domains
This script can be used to prevent adding users from a certain AD domain to groups located in other domains.
Process pending approval requests created more than X days ago
The scripts approve/deny pending approval requests which were created more than X days ago.
Processed Approval Requests initiated during the last X days
This script outputs the list of approved, denied or cancelled Approval Requests initiated during the last X days.