Scripts repository
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 Unmanaged Accounts.
Enable MFA with phone number for a user in Microsoft 365
The script enables MFA in Microsoft 365 for the target user with phone number applied.
Check group membership in Microsoft 365
The script returns true if the target user is not a member of any of the specified groups in Microsoft 365.
Sign out from all Microsoft 365 services
The script signs out the user from all Microsoft 365 services.
Status of users MFA in Microsoft 365
The script can be used to generate a report that will include user accounts and the status of their MFA in Microsoft 365.
Save primary SMTP address to a property
The script updates the specified property with the value of the primary SMTP address.
Grant mailbox permissions to users predefined in a multivalued property
The script grants Full Access and Send As permissions to the users whose DNs are stored in a multivalued attribute.
Output BitLocker recovery password
The script outputs a BitLocker recovery password of a computer.
Recently created users with initiator
The script generates a report of recently created users with initiator.
Recently enabled users with initiator
The script generates a report of recently enabled users with initiator.
Microsoft 365 licenses information
The script generates a report that includes information on Microsoft 365 licenses.
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.
Add group members from DN syntax property
The script adds objects stored in a DN syntax property (e.g. See Also) of the target object to the specified group.
Execute custom command with name specified in user property
The script executes a custom command for a user. The name of the command is taken from a property of the user.
Remove actions with empty groups from custom commands, business rules and scheduled tasks
The script removes all the Add to group and Remove from group actions that do not have a group specified from all custom commands, business rules and scheduled tasks.
Update linked mailbox properties with values of the master account
The script updates properties of a linked mailbox with the corresponding property values of the master account.
Update custom command parameter values based on unique property values
Update custom command parameter values based on unique property values
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.
Automatically add a digit to the full name if it is not unique in all domains
Automatically add a digit to the full name if it is not unique in all domains
Computers with BitLocker installed and not installed
The script creates and emails 2 lists: a list of computers where Bitlocker is installed and a list of computers where it is not installed.