Script repository
Remove invalid business unit membership rules
A script to to remove deleted Active Directory objects from business unit membership rules.
Users whose property values do not match property pattern
The script generates a report that will include users whose property values do not match templates of effective property patterns.
All business rules, custom commands and scheduled tasks executing a specific custom command
The script creates a file containing all business rules, custom commands and scheduled tasks executing the specified custom command.
Remove non-existing objects from Security Role Assignments
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.
Prohibit changing Exchange mailbox addresses except the primary SMTP address
The script can be used to prohibit changes in any addresses of an Exchange mailbox except the primary SMTP address
Search and replace text in Adaxes email notifications
The script finds and replaces the specified text in the notifications sent by the Send email notification action in business rules, custom commands and scheduled tasks.
Grant Full Access to manager for all subordinates' mailboxes
This script provides a manager with full access to mailboxes of all his/her subordinates.
Revoke permissions for user home folder
The script updates permissions for the target user home folder to keep only full access for the user themselves and inherited permissions.
Disallow users to change permissions on their home folders
The script can be used in business rules, scheduled tasks and custom commands to disallow users to change permissions on their home folders.
Process pending approval requests created more than X days ago
The scripts approve/deny pending approval requests which were created more than X days ago.
Check if number of unused Microsoft 365 licenses is below limit
The script returns true if the number of Microsoft 365 licenses is below limit.
Check whether username is unique
The script checks whether the username of an account is unique in AD domain and does not match the prefixes of any proxy addresses in Exchange.
Update script credentials in custom commands
The script updates the credentials used to run scripts in the specified custom commands with the given ones.
Create new Web interface configuration with specific settings
The script creates a new Web Interface configuration with specific settings based on the specified existing configuration
Synchronize Send As permissions from Exchange on-premises to Exchange Online for distribution list
The script replaces Send As permissions in Exchange Online for a mailbox with those of the mailbox in Exchange on-premises.
Users with upcoming anniversaries
The script generates a report containing users whose yearly anniversary is within the specified period.
Microsoft 365 licenses assigned to users
The script generates a report containing users assigned the specified Microsoft 365 licenses.
Delete SharePoint folder
This PowerShell script deletes a user's SharePoint folder.
Clean up Google groups
The script deletes Google Apps groups that do not have corresponding AD groups in your Active Directory.
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.