Script repository
Ensure Full Name is unique
This PowerShell script will cancel creation of a new user if another user with the same full name already exists in your Active Directory domain.
Approval requests approved during the last X days
The script e-mails a report on approval requests approved during a predefined number of days.
Execute custom command on users listed in CSV file
The script executes a certain custom command on users listed in a CSV file.
Grant temporary full mailbox access to user
Grant temporary full mailbox access to user
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).
Update attributes based on value of another attribute
The script updates attributes based on the value of another attribute.
Create Remote Desktop Services profile folder
A script to create a Remote Desktop Services profile folder for a user on the file system.
Disable mail forwarding if forwarding address matches regular expression
The script disables mail forwarding for an Exchange mailbox if the forwarding address matches a regular expression.
Check whether a certain mailbox feature is enabled
The scripts are used to check whether a certain mailbox feature is enabled. If the featue is disabled, the scripts return false.
Create Google group
The script creates a Google Apps group based on an AD group.
Assign Security Role
Function to assign a Security Role to a user or group.
Sign out from all Microsoft 365 services
The script signs out the user from all Microsoft 365 services.
Copy group memberships from template based on property values
The script copies group memberships from a template user to the current user. The template is selected based on the value of the specified properties. Original memberships of the user are removed.
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.
Check whether automatic replies are enabled
The script checks whether an Exchange mailbox is configured to send automatic replies (OOF messages).
Cancel user creation if there are no available Microsoft 365 licenses
The script cancels creation of a new user if there are no available Microsoft 365 (Office 365) licenses in the specified plans of the tenant associated with the user.
Remove disk quota for user on the drive where the user's home directory is located
This script removes disk quotas for a user on the drive where the user's home directory is located.
Export mailbox to PST
The scripts export an on-premises Exchange mailbox to a PST file.
All mailbox delegates
The script creates a CSV-formatted report on delegates of mailboxes in all domains managed by Adaxes.
Users whose Adaxes custom attribute is not empty
The script finds user accounts who have a certain Adaxes virtual property (e.g. CustomAttributeDate1) specified.