Script repository
Assign Security Role
Function to assign a Security Role to a user or group.
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.
Export mailbox to PST
The scripts export an on-premises Exchange mailbox to a PST file.
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.
Move mailbox to/from Microsoft 365
The scripts are used to move a mailbox to or from Microsoft 365.
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.
Users whose Adaxes custom attribute is not empty
The script finds user accounts who have a certain Adaxes virtual property (e.g. CustomAttributeDate1) specified.
All mailbox delegates
The script creates a CSV-formatted report on delegates of mailboxes in all domains managed by Adaxes.
Update custom command parameter values based on unique property values
Update custom command parameter values based on unique property values
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.
Copy group membership from specified user
The script copies group membership from the user specified to the target user.
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.
Export user photo to file
A script to export a user's photo stored in Active Directory to a file.
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.
Check whether one of the properties is modified
The script returns True if one of the specified properties is modified.
Update Microsoft 365 services enabled for user to match tenant configuration
The script updates Microsoft 365 services enabled for user to match tenant configuration.
Import users to be deprovisioned
The scripts disable or delete user accounts by importing a CSV file.
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.
Deny pending Approval Requests to perform operations on object
This script denies pending Approval Requests to perform operations on an Active Directory object.
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.