Hi Roark, Steven,
Thank you for posting in the Q&A Forums.
To extract a report from the People OU, listing all users by their display name (cn) and unique ID (imrPID), you can use a PowerShell script. Here's an example script:
powershellCopy code
$domainController = "your_domain_controller_name"
Import-Module ActiveDirectory
$users = Get-ADUser -Filter * -SearchBase "OU=People,DC=your_domain,DC=com" -Server $domainController
foreach ($user in $users) {
Write-Host "Display Name: $($user.Name), Unique ID: $($user.imrPID)"
}
Replace "your_domain_controller_name" with the name of your domain controller and "your_domain" with your domain name. This script will output the display name and unique ID for each user. You can redirect the output to a file when running this script to create a report.
Best regards
Neuvi Jiang