We use cookies to improve your experience.
By your continued use of this site you accept such use.
For more details please see our privacy policy and cookies policy.

Script repository

Loading...

Remove values for deleted objects from a multi-valued property

The script removes records for deleted objects from a multi-valued property.
December 28, 2021 Views: 948

Force Active Directory replication

The script forces replication in the domain of the object the script is executed for.
January 14, 2022 Views: 7684

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.
January 26, 2022 Views: 1929

Objects located in multiple OUs

The script generates a report containing objects located in the OUs selected in a report parameter.
February 15, 2022 Views: 994

Group membership of user subordinates

The script generates a report containing subordinates of the selected user and the groups the groups the subordinates are members of.
February 15, 2022 Views: 1166

Remove spaces from property value and validate it against regular expression

The script removes spaces from a property value, and then validates the result against a regular expression.
February 18, 2022 Views: 4097

Add members of the target group to the specified one

The script adds users who are members of the target group to the specified one.
April 14, 2022 Views: 1685

Remove allowed property value from a property pattern

The script removes a value from the list of values allowed for a property by a property pattern and sorts all the values in alphabetical order.
April 18, 2022 Views: 879

Members of groups based on property value

The script generates a report containing members of the groups that have a property with a specific value.
June 06, 2022 Views: 991

Users with upcoming anniversaries

The script generates a report containing users whose yearly anniversary is within the specified period.
August 22, 2022 Views: 887

Set manager based on property value

The script finds a user according to the property values mapping and sets the user as the manager of the target account.
October 04, 2022 Views: 931

Update user properties in resource domain

The script updates properties of a user account in the resource domain based on the values of the corresponding account in the primary domain.
October 24, 2022 Views: 967

Copy multi-valued property values

The script replaces values of a multi-valued property for the specified object with the values of the target object.
November 29, 2022 Views: 701

Add users that are not members of groups to Unmanaged Accounts

The script adds users who are not members of specific groups to Unmanaged Accounts. When adding users, only direct membership in the groups is taken into account.
December 05, 2022 Views: 2273

Add users located in particular Organizational Units to unmanaged accounts

The script adds enabled and not expired users located in particular Organizational Units to unmanaged accounts.
December 05, 2022 Views: 6579

Remove user with specific username from the unmanaged accounts list

The script removes the user with the specified user principal name from the unmanaged accounts list.
December 05, 2022 Views: 1246

Assign Microsoft 365 license based on availability

The script assigns Microsoft 365 (Office 365) licenses based on their availability. For example, you can try assigning the Enterprise E5 license, and if there are no available E5 licenses, assign an Enterprise E3 one.
December 29, 2022 Views: 5494

Enable user in Microsoft 365 after adding to group

Scripts to enable a user in Microsoft 365 (Office 365) after adding to a group.
December 29, 2022 Views: 2643

Assign/Revoke Microsoft 365 licenses based on user group membership priority

The script assigns a Microsoft 365 (Office 365) license for a user based on which AD group the user is a member of.
December 29, 2022 Views: 4581

Check whether user has mailbox in Exchange Online

The script checks whether the user on which it is executed has a mailbox in Exchange Online.
January 18, 2023 Views: 8335

Got questions?

Support Questions & Answers