新手。哪个交换cmdlet给我MailboxGuid? [英] newbie. Which exchange cmdlets give me the MailboxGuid?

查看:158
本文介绍了新手。哪个交换cmdlet给我MailboxGuid?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个Exchange 2010系统。我们需要立即禁用/连接邮箱。

We have an Exchange 2010 system. We need to disable/connect mailboxes now and then.

我发现connect-mailbox cmdlet喜欢使用MailBoxGuid作为标识符。

I have discovered that the connect-mailbox cmdlet likes to use the MailBoxGuid as the Identifier.

当AD帐户为"已启用邮件"时,mailGuid似乎在AD属性msExchMailboxGUID中可见。即使该用户尚未登录到他的邮箱。

The mailboxGuid seems to be visible in the AD attribute msExchMailboxGUID when an AD account is "mail enabled" even though that user has not logged on to his mailbox yet.

我感兴趣的是哪些交换cmdlet返回MailboxGuid。

What I am interested in is which exchange cmdlets return the MailboxGuid.

到目前为止,我发现的唯一一个是带有SMTPemailaddress作为标识符的Get-MailboxStatistics。

So far, the only one I have found is Get-MailboxStatistics with the SMTPemailaddress as identifier.

为什么Get-Mailbox没有给我邮箱的GUID ????

Why doesn't Get-Mailbox give me the mailbox's GUID????

推荐答案

Hello HaroldHare ,

Hello HaroldHare,

您可以在EMS中尝试以下命令并查看它是否有效:

Can you try below command in EMS and see if it works:

Get-Mailbox | ft Name,Guid> C:\ GUID.txt

Get-Mailbox | ft Name, Guid > C:\GUID.txt

注意:如果需要,可以更改目的地。

Note: Change the destination if you want.


这篇关于新手。哪个交换cmdlet给我MailboxGuid?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆