Scripts repository
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.
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
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.
Update custom command parameter values based on unique property values
Update custom command parameter values based on unique property values
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.
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.
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.
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.
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.
Microsoft 365 licenses information
The script generates a report that includes information on Microsoft 365 licenses.
Recently enabled users with initiator
The script generates a report of recently enabled users with initiator.
Recently created users with initiator
The script generates a report of recently created users with initiator.
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.
Save primary SMTP address to a property
The script updates the specified property with the value of the primary SMTP address.
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.
Disabled managers with enabled direct reports
The script can be used to generate a report that will include disabled user accounts that are managers of enabled user accounts.
Remove non-existing objects from Security Role Assignments
The script removes non-existing objects from Assignments of all security roles. Both role Trustees and objects comprising Assignment Scopes of Security Roles are checked.
Sign out from all Microsoft 365 services
The script signs out the user from all Microsoft 365 services.
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.
Users Password Self-Service information
This script e-mails a report on all users and includes information about Password Self-Service enrollment