Script repository
Add computers located in an OU to user workstations
The script adds computers located in a specific Organizational Unit to user workstations. Current computers in user workstations will remain unchanged.
Updated on: Jan 18, 2026, Views: 4919
Add group members from DN syntax property
The script adds objects stored in a DN-syntax property of the target object to the specified group.
Updated on: Jan 18, 2026, Views: 6188
Cancel operation if Full Name is not unique
The script cancels the operation if another user with the same Full Name already exists in your Active Directory domain.
Updated on: Jan 18, 2026, Views: 3999
Check Entra account last logon
The script checks whether the last logon date of the related Entra user account equals the current date.
Updated on: Jan 18, 2026, Views: 2182
Check if account is inactive in Microsoft Entra ID longer than a period of time
The script returns true if the account is inactive in Microsoft Entra ID longer than a period of time.
Updated on: Jan 18, 2026, Views: 2232
Check whether Employee ID is present in SQL Database
The script checks whether the new Employee ID set for a user is present in the user's SQL database record.
Updated on: Jan 18, 2026, Views: 5584
Copy property values from on-premises account to Entra one
The script copies values of the specified properties from the target on-premises AD account to the corresponding Microsoft Entra account.
Updated on: Jan 18, 2026, Views: 1969
Copy 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.
Updated on: Jan 18, 2026, Views: 3421
Copy user properties and group membership
The script copies property values and group membership from one user to another.
Updated on: Jan 18, 2026, Views: 7403
Create Remote Desktop Services profile folder
The script creates a Remote Desktop Services profile folder for a user on the file system.
Updated on: Jan 18, 2026, Views: 5204