Unable to get OjectGUID in hexadecimal with using get-aduser.
I'm able to covert with using LDAP query, but i have multiple account. So it would be great if anyone help to get or convert ObjectGUID with hexa format using powershell
$guidInHEX = [string]::Empty
$guid | % { $guidInHEX += '{0:X}' -f $_ }
$guidInHEX