Scripts repository
Disallow adding groups to other groups
This script can be used to disallow adding groups to other groups.
Check whether Microsoft 365 user account is blocked
The script check whether a user is blocked from signing in to Microsoft 365 (Office 365).
Notify users on Requests awaiting their approval
Scripts to notify users on Approval Requests they need to approve or deny.
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.
Enable user in Microsoft 365 after adding to group
Scripts to enable a user in Microsoft 365 (Office 365) after adding to a group.
Clean up Google groups
The script deletes Google Apps groups that do not have corresponding AD groups in your Active Directory.
Users with malformed street addresses
This script checks whether street addresses of users match their office names.
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.
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.
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.
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.
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.
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.
Move SharePoint folder
This script moves a user's SharePoint folder to another location within the same SharePoint site.
Move mailbox to/from Microsoft 365
The scripts are used to move a mailbox to or from Microsoft 365.
Request users to approve adding AD objects located in OU they manage to group
The script can be used to request approval of an owner of the OU where an object is located before adding it to a group.
Users Blocked for Password Self-Service
Scripts to export reports on users blocked for Password Self-Service.