We use cookies to improve your experience.
By your continued use of this site you accept such use.
For more details please see our privacy policy and cookies policy.

Script repository

Loading...

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.
February 25, 2021 Views: 3501

Approval requests approved during the last X days

The script e-mails a report on approval requests approved during a predefined number of days.
November 23, 2023 Views: 3465

Execute custom command on users listed in CSV file

The script executes a certain custom command on users listed in a CSV file.
May 18, 2023 Views: 3432

Grant temporary full mailbox access to user

Grant temporary full mailbox access to user
February 24, 2021 Views: 3409

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).
February 24, 2021 Views: 3397

Update attributes based on value of another attribute

The script updates attributes based on the value of another attribute.
December 13, 2024 Views: 3335

Create Remote Desktop Services profile folder

A script to create a Remote Desktop Services profile folder for a user on the file system.
February 18, 2021 Views: 3318

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.
October 15, 2015 Views: 3314

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.
August 02, 2023 Views: 3299

Create Google group

The script creates a Google Apps group based on an AD group.
February 03, 2023 Views: 3284

Assign Security Role

Function to assign a Security Role to a user or group.
March 14, 2023 Views: 3274

Sign out from all Microsoft 365 services

The script signs out the user from all Microsoft 365 services.
April 29, 2025 Views: 3263

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.
October 12, 2020 Views: 3232

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.
February 18, 2021 Views: 3207

Check whether automatic replies are enabled

The script checks whether an Exchange mailbox is configured to send automatic replies (OOF messages).
June 16, 2017 Views: 3200

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.
June 23, 2020 Views: 3194

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.
February 18, 2021 Views: 3172

Export mailbox to PST

The scripts export an on-premises Exchange mailbox to a PST file.
February 24, 2021 Views: 3163

All mailbox delegates

The script creates a CSV-formatted report on delegates of mailboxes in all domains managed by Adaxes.
October 18, 2023 Views: 3004

Users whose Adaxes custom attribute is not empty

The script finds user accounts who have a certain Adaxes virtual property (e.g. CustomAttributeDate1) specified.
October 13, 2023 Views: 2984

Got questions?

Support Questions & Answers