Scripts repository
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.
Add/remove membership rule to business unit for target object
The script adds or removes a membership rule for the target object from a predefined business unit.
Export group members to CSV file
The script exports a list of members of an AD group to a CSV file. The list includes both direct and indirect group members.
Create LDAP filter to find all subordinates of user
The script creates an LDAP filter that allows finding all subordinates of a user, including direct reports, subordinates of direct reports, and users managed via membership in AD groups.
Add object to the group with the least number of members
The script adds the target object to the group with the least number of members from the list of predefined groups.
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.
Add approvers to approval requests
This script adds an additional approver to approval requests that have not been processed within a predefined time frame.
Check whether AD object is member of business unit
The script can be used to create a condition that checks whether an AD object on which it is executed is a member of a specific business unit.
Approval requests approved during the last X days
The script e-mails a report on approval requests approved during a predefined number of days.
Users with malformed street addresses
This script checks whether street addresses of users match their office names.
Deprovision all computers managed by a user
This script disables all computers managed by a user and moves them to a dedicated Organizational Unit for disabled computers.
Deprovision computers
This script deprovisions an Active Directory computer account associated with a user.
Reset password in Google Apps
A script to reset a user’s password in Google Apps.
Ensure Full Name is unique
This PowerShell script will cancel creation of a new user if another user with the same full name already exists in your Active Directory domain.
Import possible values for properties from SQL Database
The script updates allowed property values in a Property Pattern based on the data from MS SQL database.
Export user photo to file
A script to export a user's photo stored in Active Directory to a file.
Check if the number of direct group members exceeds limit
The script returns true if the number of direct group members equals or exceeds a specific limit.
Copy allowed property values from property pattern to custom command parameter
The script replaces values of a Custom Command drop-down list parameter with allowed property values from a Property Pattern.
Wipe all mobile devices
The script wipes all mobile devices of the target mailbox.
Check extra group membership
The script returns true if the target object is a member of any groups except for the predefined ones.