Unable to get full list of users with Legal Hold
Mani
396
Reputation points
Hello All,
I tried this command to get all users who are placed on Holds
Get-Mailbox -ResultSize unlimited | where{$_.InPlaceHolds -ne $null} | FL DisplayName,PrimarySmtpAddress,RecipientTypeDetails,InPlaceHolds | Export-Csv -Path "C:\script
s\Holdreport.csv"-NoTypeInformation
But the csv is not showing the exact results, instead it showing the results like the below image,
Can someone suggest what's missing here and how to get users list with Legal hold enabled in my organization.
Sign in to answer