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.

Scripts repository

Loading...

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.
February 25, 2021 Views: 3041

Reset password in Google Apps

A script to reset a user’s password in Google Apps.
February 25, 2021 Views: 3766

Users with malformed street addresses

This script checks whether street addresses of users match their office names.
February 25, 2021 Views: 2105

Add approvers to approval requests

This script adds an additional approver to approval requests that have not been processed within a predefined time frame.
February 25, 2021 Views: 5541

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.
February 26, 2021 Views: 1448

Scheduled Task Activity History

The script generates and emails an HTML report on the activity of a Scheduled Task.
March 04, 2021 Views: 3530

Adjust group membership based on mapping

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

Users who are members of a certain number of groups

The script generates a report that includes users who are members of a certain number of groups determined by a property value.
March 16, 2021 Views: 716

Remove invalid business unit membership rules

A script to to remove deleted Active Directory objects from business unit membership rules.
March 17, 2021 Views: 2055

Create groups based on departments of users

The script can be used to add users to groups by department. It adds a user to a group with the same name as the user's department. If a group with the necessary name does not exist it will be created.
March 17, 2021 Views: 3293

Modify Web interface access rules using scripts

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 Views: 1949

Export approval requests to CSV

The script exports approval request information to a CSV file once an approval request is approved, denied or cancelled.
March 17, 2021 Views: 2383

Add managers with specific direct reports to a group

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 Views: 1370

Create home folder for AD group

The script creates a folder for an AD group and grants the group full access permissions for the folder.
March 18, 2021 Views: 3315

Check if user home folder is empty

The script returns True if home folder of a user is empty.
March 23, 2021 Views: 660

Update suffix of the primary SMTP address

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 Views: 1191

Grant target user full access over specific mailbox

The script grants the target user full access over a specific mailbox.
April 21, 2021 Views: 726

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

Update group membership based on combination of two property values

The script updates group membership of a user based on a combination of two property values.
May 05, 2021 Views: 1837

Assign Conferencing Policy in Skype for Business On-Premises

The script assigns a Lync Conferencing Policy to a user.
May 11, 2021 Views: 3192

Got questions?

Support Questions & Answers