Script repository
Save last activity date in Exchange Online to custom attribute
The script saves last activity date of the target user in Exchange Online to custom attribute date attribute.
Check if account is inactive in Microsoft Entra ID longer than a period of time
The script returns true if the account is inactive in Azure AD longer than a period of time.
Import new and updated users from CSV file
The scripts are used to update existing and create new user accounts based on the data in the CSV file.
Check whether the target object is a member of multiple groups
The scripts check whether an AD object on which the script is executed is a member of multiple groups.
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.
Add msExchCoManagedByLink values to Adaxes secondary owners
The script updates the adm-ManagedByList property with values of msExchCoManagedByLink.
Create username automatically
This PowerShell function can be used to create a username for a new user automatically based on values of the user properties.
Check if object in specific property is member of business unit
The script returns true if the object stored in the specified property is a member of the specified business unit.
Update allowed property values in property pattern based on CSV file
The script updates allowed property values in the specified property patterns based on the CSV file.
Check whether username is unique
The script checks whether the username of an account is unique in AD domain and does not match the prefixes of any proxy addresses in Exchange.
Copy group membership from specified user
The script copies group membership from the user specified to the target user.
Computers with BitLocker status
The script generates a report containing computers and their Bitlocker status.
Scheduled tasks with last run start time and duration
The script generates a report containing all scheduled tasks, their last run date and duration.
Enable remote mailbox
The script enables a remote mailbox for a user.
Users disabled during a number of days
The script generates a report containing user accounts disabled during the specified number of days.
Temporary group membership
The set of scripts can be used to add users to AD groups for a limited period of time
Add users except users located in particular Organizational Units to Unmanaged Accounts
The script adds all users except users located in particular Organizational Units to the unmanaged accounts list.
Remove object from all groups whose name starts with a specific value
The script removes object from all groups whose name starts with a specific value.
Remove all group memberships for a user account
The scripts remove the target user account from all groups including cloud ones.
Recently deleted users with initiator
The script generates a report of recently deleted users with initiator.