Scripts Repository

The script notifies a recipient about a new member added to an AD group, including information on the manager of the new member in the notification email.
April 19, 2021
The script finds Microsoft 365 (Office 365) groups for which the target user is set as owner and sets the user manager as the groups owner.
April 12, 2021
The script generates a report that will include users multiple times depending on the number of values in the specified multi-valued property.
April 01, 2021
The script adds users whose value of specific properties all match the values specified in custom command parameters to a group specified in the command parameter.
March 26, 2021
The script forms a new primary SMTP address based on the prefix of the current primary address and the domain part specified in a parameter.
March 25, 2021
The script disables users inactive for the specified period and updates one of the user properties.
March 25, 2021
The examples show how to launch a script from a Business Rule, Custom Command or Scheduled Task in a new PowerShell instance.
March 24, 2021
The script returns True if home folder of a user is empty.
March 23, 2021
The script creates a folder for an AD group and grants the group full access permissions for the folder.
March 18, 2021
The script updates the list of members of the target group with managers that currently have direct reports whose property is set to a specific value.
March 18, 2021
The script sends email notifications to users whose password is to expire in a predefined number of days.
March 18, 2021
The script exports approval request information to a CSV file once an approval request is approved, denied or cancelled.
March 17, 2021
The script creates and emails a CSV report on users disabled via Adaxes during a certain number of days.
March 17, 2021
The script allows creating a computer for a new user directly on the user creation form.
March 17, 2021
A function that demonstrates how to use PowerShell code to specify users and groups that are allowed or denied access to the Web interface.
March 17, 2021
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.
March 17, 2021
The script updates user accounts in Active Directory based on information in a fixed formatted text file.
March 17, 2021
The script checks whether the user on which it is executed has a mailbox in Exchange Online.
March 17, 2021
The script creates distribution lists for each employee type specified for users in Active Directory, and also updates user membership in the groups based on employee types of users.
March 17, 2021
The script removes an AD object from a specific group after being added to another group.
March 17, 2021

Got questions?
Questions & Answers