I am migrating onprem users to cloud, in every migration batch i have 50 users.lets say user1 is in migration batch1 and user2 is in batch2. i have csv file in the below format.
I want to import this csv file and get the users status. Experts help me powershell syntax to get the below informationIdentity Status(sync) Items Synced, ItemsSkippeduser1 Synceduser2 Failed
You dont have to import CSV just for 2 users , if it had been multiple or say 20-30 at a time you wanted to check and export to showcasem then probably it would be better (Your choice !!)
You can simple paste 2 liner command and this should be good enough
Get-migrationuserstatistics firstname.lastname@example.org | Select Identity , Status , ItemsSynced, ItemsSkipped
same way for User 2 as well