This script lists duplicate GroupWise account names. To list duplicate NetWare account names, change the line that begins with "Set GetProp" to "SET GetProp=container§1§CN§3§".
Copy and paste the script to the editor, enter the name of your tree in the "NDStree" setting.
Requirements
·
NetWare client on the local machine, log on as admin
Set NDStree=OAK
// Properties To Get, notice that column three is the one that gets dupe-checked
Set GetProp=container§1§CN§2§NGW Object ID§3§
[Settings_End]
[Init_Batch_Begin]
// Fill [Data] section With properties from NDStree
Data.Get.ND Container,%NDStree%,user,yes,%GetProp%
// Delete [Data] section rows With no value
Data.Loop If %col3%=- Then Data.Row.Delete EndIf Data.EndLoop
// Find duplicates - delete all non-duplicate rows from the [Data] section
Data.Column.DupeCheck 3,Self,,ListDuplicates
// Show message If no duplicates
If %RowsTotal% = 0 Then MessageBox There are no duplicates.
QuitBatch EndIf
// Else show duplicates In grid
Data.Show Duplicates
[Init_Batch_End]