We use cookies to improve your experience.
By your continued use of this site you accept such use.
For more details please see our privacy policy and cookies policy.

Scripts repository

Loading...

Use property of user accounts to store names of assigned Conferencing Policies

The script gets the Conferencing Policy assigned to a user in Lync and saves it to a property of the user account. This can be used to quickly view which policies are assigned to which users.
February 22, 2021 Views: 1959

Set owner of parent Organizational Unit as manager for user

The script sets the owner of the Organizational Unit where a user account is located as the user's manager.
February 22, 2021 Views: 1962

Modify Web interface access rules using scripts

A function that demonstrates how to use PowerShell code to specify users and groups that are allowed or denied access to the Web interface.
March 17, 2021 Views: 1962

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.
February 22, 2021 Views: 1966

Move SharePoint folder

This script moves a user's SharePoint folder to another location within the same SharePoint site.
February 18, 2021 Views: 1975

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.
February 23, 2021 Views: 1980

Move mailbox to/from Microsoft 365

The scripts are used to move a mailbox to or from Microsoft 365.
March 09, 2023 Views: 2001

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.
January 15, 2016 Views: 2027

Delete SharePoint folder

This PowerShell script deletes a user's SharePoint folder.
February 18, 2021 Views: 2031

Remove invalid business unit membership rules

A script to to remove deleted Active Directory objects from business unit membership rules.
March 17, 2021 Views: 2062

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.
October 12, 2023 Views: 2063

Grant Full Access to manager for all subordinates' mailboxes

This script provides a manager with full access to mailboxes of all his/her subordinates.
February 18, 2021 Views: 2066

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.
July 05, 2021 Views: 2071

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.
May 18, 2023 Views: 2072

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.
February 18, 2021 Views: 2087

Users with malformed street addresses

This script checks whether street addresses of users match their office names.
February 25, 2021 Views: 2115

Clean up Google groups

The script deletes Google Apps groups that do not have corresponding AD groups in your Active Directory.
February 03, 2023 Views: 2120

Enable user in Microsoft 365 after adding to group

Scripts to enable a user in Microsoft 365 (Office 365) after adding to a group.
December 29, 2022 Views: 2148

Import photos for users in Organizational Unit

The script imports photos for users located in a certain Organizational Unit.
November 23, 2023 Views: 2154

Check mailbox size

The script returns True if mailbox size exceeds a certain size limit.
February 24, 2021 Views: 2154

Got questions?

Support Questions & Answers