Script repository
Check e-mail domains
This script checks whether e-mail addresses added to a mailbox belong to accepted e-mail domains in Exchange.
Modify Storage Quotas after adding a user to a group
This script modifies mailbox storage quotas after adding a user to a group.
Enable/Disable ActiveSync Exchange feature based on group membership
This script enables the ActiveSync feature for Exchange mailboxes who are members of a specific group, and disables the feature for those members who are not part of the group.
Mailbox de-provisioning and re-provisioning
These 2 scripts allow to disconnect a user mailbox, and then reconnect it later, if necessary.
Rename SharePoint folder
This script renames a user's SharePoint folder.
Move SharePoint folder
This script moves a user's SharePoint folder to another location within the same SharePoint site.
Delete SharePoint folder
This PowerShell script deletes a user's SharePoint folder.
Copy SharePoint folder
This script copies a SharePoint folder of a user.
Create user folder in SharePoint library
This script creates a folder in a SharePoint document library for a user.
Set Out-of-Office image
This script sets an Out-of-Office image for a user in Exchange.
Grant Full Access to manager for all subordinates' mailboxes
This script provides a manager with full access to mailboxes of all his/her subordinates.
Prevent users from being added to groups in other domains
This script can be used to prevent adding users from a certain AD domain to groups located in other domains.
Disallow adding groups to other groups
This script can be used to disallow adding groups to other groups.
Disable all computers managed by a user
This script disables all computers managed by a user.
Remove disk quota for user on the drive where the user's home directory is located
This script removes disk quotas for a user on the drive where the user's home directory is located.
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.
Delete Remote Desktop Services profile folder
A script to delete the Remote Desktop Services profile of a user
Delete/Purge user profile folder
Scripts to delete or purge a user's profile folder.
Move large home folders
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.
Create Remote Desktop Services profile folder
A script to create a Remote Desktop Services profile folder for a user on the file system.