It's not clear if you want ALL users or just the ones that don't match. This code will show you all of them with a TRUE/FALSE column indicating a match or mismatch:
Get-ADUser -Filter * |
ForEach-Object {
[PSCustomObject]@{
givenname = $_.givenname
surname = $_.surname
samaccountname = $_.samaccountname
match = (("{0}.{1}" -f $_.givenname, $_.surname) -eq $_.samaccountname)
}
} | Export-Csv C:\Users\iceni\Desktop\BOOK.csv -NoTypeInformation