Scripts repository
Recently deleted users with initiator
The script generates a report of recently deleted users with initiator.
Recently created users with initiator
The script generates a report of recently created users with initiator.
Provision shared and room mailboxes
These scripts show how to provision resource mailboxes in Exchange On-Premises.
Prohibit changing Exchange mailbox addresses except the primary SMTP address
The script can be used to prohibit changes in any addresses of an Exchange mailbox except the primary SMTP address
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.
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.
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.
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.
Password self-service enrollment statistics
The script generates a report containing Password self-service enrollment statistics.
Output the last time a mailbox received mail
This script outputs the last time when a mailbox received mail.
Output BitLocker recovery password
The script outputs a BitLocker recovery password of a computer.
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).
Objects located in multiple OUs
The script generates a report containing objects located in the OUs selected in a report parameter.
Notify users on Requests awaiting their approval
Scripts to notify users on Approval Requests they need to approve or deny.
Notify users on pending approval requests initiated by them
This script notifies a user with a list of pending Approval Requests they initiated,
Move SharePoint folder
This script moves a user's SharePoint folder to another location within the same SharePoint site.
Move mailbox to/from Microsoft 365
The scripts are used to move a mailbox to or from Microsoft 365.
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 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.
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.