Script repository
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.
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.
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.
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.
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.
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.
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.
Update allowed values property pattern based on group members
The script updates the list of values allowed for a DN syntax property by a property pattern with members of groups.
Add guest users located in specific Organizational Units to unmanaged accounts
The script adds enabled and not expired guest users located in particular Organizational Units to unmanaged accounts.
Create Microsoft 365 contact based on AD contact
The script creates a Microsoft 365 (Office 365) contact based on an existing Active Directory contact.
Update group membership with business unit members
The script updates group membership with members of a business unit.
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.
Check whether a certain mailbox feature is enabled
The scripts are used to check whether a certain mailbox feature is enabled. If the featue is disabled, the scripts return false.
Specify access control for Web interface
The script sets a user or group as an access control trustee for a Web interface.
Enable auto-logon for Web interface
The script enables the auto-logon feature for the specified Web interface.