Tips for lync-35-Disable-Exchange Server 2013-user-Email

Source: Internet
Author: User

 

Someone may ask, "What is the relationship between this and lync? "

It's related!

It does not matter. It does not matter!

I used to have a lync environment in at least two projects and had to reinstall Exchange Server 2013.

However, when I met students, I made some preparations and sent them out to help students learn!

When uninstalling Exchange Server 2013, You need to disable the mailboxes of several users. If you do not disable them, You Cannot uninstall them. The following describes how to disable these three users. For details, refer:

I. Disable-mailbox

This cmdlet can be used in Local Exchange Server 2013 and cloud-based services. Some parameters and settings may only apply to a specific environment.

You can use the disable-Mailbox cmdlet to disable the existing user's mailbox, inetorgperson object, or public folder mailbox, and delete the Active Directory attribute of this object from exchange. The user account associated with the mailbox will be retained in Active Directory, but will not be associated with the mailbox.

In this example, disable the user John Woods (whose alias is John) and delete all mailbox attributes from Active Directory.

Copy

Disable-Mailbox [email protected]

Ii. Remove-mailbox

This cmdlet can be used in Local Exchange Server 2013 and cloud-based services. Some parameters and settings may only apply to a specific environment.

Use the remove-Mailbox cmdlet to delete the user account associated with a specific mailbox in Active Directory, and process the associated disconnected mailbox according to the instructions of the specified parameter.

In this example, the email address of user John Rodman (John) is disconnected from the user account and the email address is deleted from Active Directory. During the deleted mailbox retention period configured for the mailbox database, the mailbox will remain in the exchange database.

Copy

Remove-Mailbox-identity contoso \ John

3. Disable-email-Common User

Get-mailbox

Disable-Mailbox I-X-cloud \ Administrator

Iv. Disable-email-Administrator

Get-mailbox

Disable-Mailbox I-X-cloud \ Administrator

5. Disable-email-discoverysearchmailbox

1) query-user

Get-Mailbox | select name

650) This. width = 650; "Title =" clip_image001 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image001 "src =" http://img1.51cto.com/attachment/201408/17/711418_1408276815qK96.png "Height =" 97 "/>

2) Delete-user

Disable-Mailbox-identity 'discoverysearchmailbox {D9-----------------------52 }'

650) This. width = 650; "Title =" clip_image003 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image003 "src =" http://img1.51cto.com/attachment/201408/17/711418_1408276816ijiK.jpg "Height =" 99 "/>

This article is from the IT-Standardization blog, please be sure to keep this source http://dynamic.blog.51cto.com/711418/1541341

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.