Scripts repository
Current group membership of a user
The script sends an email with a list of groups the target user is a member of attached as a CSV file.
Delegate approvals to assistants and secretaries
The script allows delegating the operations a user needs to approve to their assistants or secretaries.
Delete all denied approval requests
The script deletes all the approval requests that were denied.
Delete all user data from mobile devices
This script deletes all user data from all Exchange ActiveSync devices that belong to the user.
Delete computer from SCCM server
The script deletes a computer from a System Center Configuration Manager (SCCM) Server.
Delete Remote Desktop Services profile folder
A script to delete the Remote Desktop Services profile of a user
Delete SharePoint folder
This PowerShell script deletes a user's SharePoint folder.
Delete/Purge user profile folder
Scripts to delete or purge a user's profile folder.
Deny all pending requests initiated by a user or scheduled task
The script denies all pending requests initiated by a specific user or scheduled task.
Deny pending Approval Requests to perform operations on object
This script denies pending Approval Requests to perform operations on an Active Directory object.
Deprovision all computers managed by a user
This script disables all computers managed by a user and moves them to a dedicated Organizational Unit for disabled computers.
Deprovision computers
This script deprovisions an Active Directory computer account associated with a user.
Disable all computers managed by a user
This script disables all computers managed by a user.
Disable and update inactive users
The script disables users inactive for the specified period and updates one of the user properties.
Disable mail forwarding if forwarding address matches regular expression
The script disables mail forwarding for an Exchange mailbox if the forwarding address matches a regular expression.
Disable Outlook Auto-Mapping after granting full mailbox access
The scripts disable Outlook Auto-Mapping after granting full access for an Exchange mailbox.
Disable remote mailbox
The script disables remote mailbox for the user.
Disabled managers with enabled direct reports
The script can be used to generate a report that will include disabled user accounts that are managers of enabled user accounts.
Disallow adding groups to other groups
This script can be used to disallow adding groups to other groups.
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.