Script repository
Check whether Microsoft 365 user account is blocked
The script check whether a user is blocked from signing in to Microsoft 365 (Office 365).
Move mailbox to/from Microsoft 365
The scripts are used to move a mailbox to or from Microsoft 365.
Get number of enabled and not expired users in an AD domain without using Adaxes
The script returns the number of enabled and not expired user accounts in an AD domain without using Adaxes cmdlets or interfaces.
Copy SharePoint folder
This script copies a SharePoint folder of a user.
Enable user in Microsoft 365 after adding to group
Scripts to enable a user in Microsoft 365 (Office 365) after adding to a group.
Import photos for users in Organizational Unit
The script imports photos for users located in a certain Organizational Unit.
Check mailbox size
The script returns True if mailbox size exceeds a certain size limit.
Disallow adding groups to other groups
This script can be used to disallow adding groups to other groups.
Copy group membership from specified user
The script copies group membership from the user specified to the target user.
Perform actions upon changes in group membership (including changes made by 3rd party tools)
The script allows you to execute Custom Commands when membership of an AD group changes, no matter whether the changes were made using Adaxes or any 3rd party tools, such as ADUC or Exchange.
Users with malformed street addresses
This script checks whether street addresses of users match their office names.
Clean up Google groups
The script deletes Google Apps groups that do not have corresponding AD groups in your Active Directory.
Move home folder with locked files
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.
Transfer subordinates from manager to assistant
These 2 PowerShell scripts can be used to transfer a user's direct reports to the user's assistant on a temporary basis.
Add user to groups specified in a DN syntax property
The script adds a user to the groups specified in a DN syntax property of the user.
Grant Full Access to manager for all subordinates' mailboxes
This script provides a manager with full access to mailboxes of all his/her subordinates.
Remove invalid business unit membership rules
A script to to remove deleted Active Directory objects from business unit membership rules.
Delete SharePoint folder
This PowerShell script deletes a user's SharePoint folder.
Check whether user performing an operation manages the OU where target object is located
The script checks whether the user performing an operation manages the OU where the target object is located.
Move SharePoint folder
This script moves a user's SharePoint folder to another location within the same SharePoint site.