I list below the simple method to get siDHistory attribute of migrated AD users.
List AD Migrated User sIDHistory Attribute
Step 1. Open PowerShell with elevated privileges on the computer with the target domain.
Step 2. Execute the following command.
dsquery * -Filter "(samaccountname=<username>)" -Attr sIDHistory
How to List Migrated AD Users sIDHistory Attribute