从AD获取邮箱的Exchagneguid
$exguid_byetarray = (Get-ADUser yunchi02 -Properties msExchMailboxGuid).msExchMailboxGuid #此时为byteArray格式 new-object System.Guid -ArgumentList @(, $exguid_byetarray) #将其转换为guid
$exguid_byetarray = (Get-ADUser yunchi02 -Properties msExchMailboxGuid).msExchMailboxGuid #此时为byteArray格式 new-object System.Guid -ArgumentList @(, $exguid_byetarray) #将其转换为guid