Script repository
Export user photo to file
A script to export a user's photo stored in Active Directory to a file.
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.
Import users to be deprovisioned
The scripts disable or delete user accounts by importing a CSV 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 property pattern item with names of groups located in a container
Te script updates values allowed for a property by a property pattern with the names of groups located in a container.
Reset user password in resource domain
The resets a user password in the resource domain after it is changed or reset in the primary domain.
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.
Copy custom attribute values between Adaxes services
The script copies values of custom attributes from one Adaxes service to another.
Members of local computer group
The script emails a report containing members of a local computer group
Update property values in property pattern with all existing values
The script replaces allowed property values in a Property Pattern with all values of a property specified for existing user accounts.
Request users to approve adding AD objects located in OU they manage to group
The script can be used to request approval of an owner of the OU where an object is located before adding it to a group.
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.
Add computers from an OU to user workstations
The script adds computers from a specific Organizational Unit to user workstations. Current computers in user workstations will remain unchanged.
Add managers with specific direct reports to a group
The script updates the list of members of the target group with managers that currently have direct reports whose property is set to a specific value.
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.
Copy allowed property values from property pattern to custom command parameter
The script replaces values of a Custom Command drop-down list parameter with allowed property values from a Property Pattern.
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 if approval request exists
The script returns true if there is a pending approval request for the target object created by the same initiator.