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...

Generate a unique 6-digit value for AD property

The script generates a unique 6-digit value for the specified Active Directory property.
February 25, 2021 Views: 1633

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: 1635

Check if the property is empty before modification

The script checks the property being modified and returns true if it is currently empty.
February 18, 2021 Views: 1636

Enable password reset at next logon in Microsoft 365

The script enables the 'Require this user to change their password when they first sign in' option for the user in Microsoft 365.
May 05, 2021 Views: 1648

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.
February 07, 2024 Views: 1665

Update group membership based on property value

The script adds/removes user from groups based on a property value of the users.
February 25, 2021 Views: 1677

Remove all trustees from Full Access list

The script removes all the trustees from the Full Access list of a mailbox.
February 18, 2021 Views: 1701

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: 1704

Check whether Password never expires account option is updated

The script returns true if the Password never expires account option is being updated for the user.
February 24, 2021 Views: 1705

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.
October 03, 2023 Views: 1729

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: 1785

Check if Full Access permissions are modified

The script checks whether Full Access permissions are modified for a mailbox.
June 22, 2023 Views: 1801

Adjust group membership based on mapping

The script adds/removes user from groups based on the predefined mapping.
March 15, 2021 Views: 1828

Update report drop-down parameter with Microsoft 365 licenses

The script updates the specified drop-down list parameter with display names and SKU Part Numbers of Microsoft 365 licenses in all the registered tenants.
June 28, 2023 Views: 1875

Add value to drop-down list parameter

The script adds a new value to a specific drop-down list parameter of a report.
July 08, 2021 Views: 1879

Check combination of property values

The script checks whether the value of one property matches the value allowed for another property.
November 14, 2025 Views: 1892

Update group membership with business unit members

The script updates group membership with members of a business unit.
August 14, 2023 Views: 1902

Remove all members from a group and add to another group

The script removes all members from a group and adds them to another group
February 25, 2021 Views: 1910

Grant permissions over a mailbox to members of a group

The script grants Full Access and send As permissions to members of the target group over a specific mailbox.
November 13, 2023 Views: 1980

Deny all pending requests initiated by a user or scheduled task

The script denies all pending requests initiated by a specific user or scheduled task.
September 24, 2021 Views: 1984

Got questions?

Support Questions & Answers