Scripts Repository

The script notifies a user manager about adding the user to a group.
February 23, 2021
This script notifies owners of groups about adding or removing members from the groups owned by them.
March 15, 2021
The script notifies approvers about an approval request status change
February 24, 2021
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 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 moves a user moves a user whose deletion is denied to another Organizational Unit.
June 21, 2017
The script moves a user to the Organizational Unit where their manager is located.
June 08, 2016
This PowerShell script moves a user to an Organizational Unit specified by a certain property of the user's account.
February 25, 2021
This script moves a user's SharePoint folder to another location within the same SharePoint site.
February 18, 2021
The scripts are used to move a mailbox to or from Microsoft 365.
August 20, 2020
The built-in 'Move Home Directory' action can fail on large directories if the operation takes more than 10 minutes to complete. This PowerShell code works around this issue by creating a separate process to move a home folder.
February 18, 2021
The script moves a user's home folder to another location. Unlike the built-in Move home folder action, it does not stop when unable to move a folder or file, and copies it instead. All locked items are listed in the Execution Log.
July 05, 2021
The script moves a user's home folder to a different server preserving permissions for that folder.
February 24, 2021
The script moves a computer in Active Directory based on its IPv4 address.
February 24, 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
This script modifies mailbox storage quotas after adding a user to a group.
February 18, 2021
The script generates a report that includes information on Microsoft 365 licenses.
October 28, 2021
The script generates a report containing users assigned the specified Microsoft 365 licenses.
September 29, 2021
The script creates a CSV-formatted report on Microsoft 365 (Office 365) licenses assigned to members of a dynamic distribution list.
February 24, 2021
The script emails a report containing members of a local computer group
February 18, 2021

Got questions?
Questions & Answers