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...

Assign Security Role

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

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: 3518

Export mailbox to PST

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

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: 3499

Move mailbox to/from Microsoft 365

The scripts are used to move a mailbox to or from Microsoft 365.
November 24, 2025 Views: 3464

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: 3426

Users whose Adaxes custom attribute is not empty

The script finds user accounts who have a certain Adaxes virtual property (e.g. CustomAttributeDate1) specified.
November 10, 2025 Views: 3395

All mailbox delegates

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

Update custom command parameter values based on unique property values

Update custom command parameter values based on unique property values
September 05, 2023 Views: 3383

Self-service temporary group membership

The set of scripts can be used to enable users to add themselves to AD groups for a limited period of time.
February 24, 2021 Views: 3350

Copy group membership from specified user

The script copies group membership from the user specified to the target user.
July 26, 2024 Views: 3350

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.
December 11, 2023 Views: 3304

Export user photo to file

A script to export a user's photo stored in Active Directory to a file.
September 05, 2025 Views: 3233

Get number of enabled and not expired users in an AD domain without using Adaxes

The script returns the number of enabled and not expired user accounts in an AD domain without using Adaxes cmdlets or interfaces.
October 12, 2023 Views: 3233

Check whether one of the properties is modified

The script returns True if one of the specified properties is modified.
February 24, 2021 Views: 3229

Update Microsoft 365 services enabled for user to match tenant configuration

The script updates Microsoft 365 services enabled for user to match tenant configuration.
February 18, 2021 Views: 3228

Import users to be deprovisioned

The scripts disable or delete user accounts by importing a CSV file.
July 05, 2021 Views: 3227

Synchronize allowed ActiveSync devices to Exchange Online

The script synchronizes the list of allowed ActiveSync devices of a user from on-premises Active Directory to their Exchange Online mailbox.
May 08, 2023 Views: 3211

Deny pending Approval Requests to perform operations on object

This script denies pending Approval Requests to perform operations on an Active Directory object.
February 18, 2021 Views: 3210

Set user photo from Microsoft 365 to AD account

The script gets a user photo from Microsoft 365 and sets it into the AD account of the user.
June 11, 2025 Views: 3207

Got questions?

Support Questions & Answers