Script repository
Check if Adaxes license is close to violation
The script calculates the difference between the current number of enabled and not expired user accounts and that allowed by Adaxes license. If the difference is less than the specified threshold, the script returns true.
Execute custom command on users listed in CSV file
The script executes a certain custom command on users listed in a CSV file.
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).
Disable remote mailbox
The script disables remote mailbox for the user.
Grant temporary full mailbox access to user
Grant temporary full mailbox access to user
Update attributes based on value of another attribute
The script updates attributes based on the value of another attribute.
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.
Create Remote Desktop Services profile folder
A script to create a Remote Desktop Services profile folder for a user on the file system.
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.
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.
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.
Check whether automatic replies are enabled
The script checks whether an Exchange mailbox is configured to send automatic replies (OOF messages).
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.
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.
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.
Export mailbox to PST
The scripts export an on-premises Exchange mailbox to a PST file.
Sign out from all Microsoft 365 services
The script signs out the user from all Microsoft 365 services.
Export user photo to file
A script to export a user's photo stored in Active Directory to a file.
Computers that have Adaxes Password Self-Service Client installed
This script creates a CSV file specifying, on which of the domain computers Adaxes Password Self-Service Client is installed, and on which ones it is not.