Script repository
Move SharePoint folder
This script moves a user's SharePoint folder to another location within the same SharePoint site.
Users Blocked for Password Self-Service
Scripts to export reports on users blocked for Password Self-Service.
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.
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.
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.
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.
Update group membership based on combination of two property values
The script updates group membership of a user based on a combination of two property values.
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.
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
Convert the first character of a property value to uppercase
The script converts the first character of a property value to uppercase.
Reset user password in resource domain
The resets a user password in the resource domain after it is changed or reset in the primary domain.
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.
Export all scripts from business rules, custom commands and scheduled tasks
The script exports all scripts from business rules, custom commands and scheduled tasks
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.
Microsoft 365 licenses assigned to users
The script generates a report containing users assigned the specified Microsoft 365 licenses.
Top 10 Approvers
The script creates and emails an HTML-formatted report on top 10 users who approved more operations than the others in Adaxes.
Export users located in Organizational Unit to SQL
The script export user accounts located in a certain Organizational Unit to an SQL database table.
Set user photo from Microsoft 365 to AD account
The script gets a user photo from Microsoft 365 and sets it into the AD account of the user.
Generate sequential property values
The script generates sequential property values consisting of a fixed textual part and a sequence number, for example IDDQD-001, IDDQD-002, IDDQD-003 etc.
To generate object names using the script, create a business rule triggered before creatin...
To generate object names using the script, create a business rule triggered before creatin...
Add new allowed property value to a property pattern
The script adds a new value to the list of values allowed for a property by a property pattern and sorts all the values in alphabetical order.