Monday, December 1, 2008

Exchange 2007 – Mail Disabling Objects

 Mail Disabling Objects

This section will detail procedures for mail disabling mail objects. The mail disabling process essentially strips the mail objects of its Exchange mail attributes. All Mail Specific attributes will be removed from the Active Directory object. The “Windows Email Address” (aka “mail”) attribute is the only attribute that will remain in tact, eventhough this attribute exists the object is not considered a mail object.

Mail Disabling Mail Users

How To Mail Disable a Mail User (Mail-Enabled user).

Command Shell
Note: The –identity can be any of the following attribute values for the mail user you are going to disable.

Identity Values

ADObjectID

GUID

distinguished name

Domain\SamAccountName

user principal name (UPN)

LegacyExchangeDN

E-mail Address

User alias

1. Open Exchange Management Shell
2. Have the Identity value on hand.
3. Enter the following command line pull the correct user object.

Get-MailUser –identity “<idValue>”



4. Verify that you have the correct Mail User based on the properties displayed.








5. If correct user has been chosen enter the following command to disable the mail user.








Tip: You can “Up” arrow to pull the command just entered above.












Get-MailUser –identity “<idValue>” | Disable-MailUser



6. Confirm action to perform. Press Enter.








Management Console (GUI)




1. Locate object within Exchange management console








2. Right Click and select Disable.








3. Follow the wizard and confirm successful disabling.









Mail Disabling Mailboxes









How To Mailbox Disable a Mailbox (Mailbox-Enabled user).









Command Shell




Note: The –identity can be any of the following attribute values for the mailbox you are going to disable.
















<>

</>

<>

</>


<>

</>
<>




</>

<>

</>


<>

</>
<>




</>

<>

</>


<>

</>
<>




</>

<>

</>


<>

</>
<>




</>

<>

</>


<>

</>
<>




</>

<>

</>


<>

</>
<>




</>

<>

</>


<>

</>
<>




</>

<>

</>


<>

</>
<>

</>




Identity Values








GUID








Distinguished name








Domain\Account








User principal name








LegacyExchangeDN








SmtpAddress








Alias












1. Open Exchange Management Shell




2. Have the Identity value on hand.








3. Enter the following command line pull the correct mailbox object.













Get-Mailbox –identity “<idValue>”



4. Verify that you have the correct Mailbox based on the properties displayed.








5. If correct user has been chosen enter the following command to disable the mailbox.








Tip: You can “Up” arrow to pull the command just entered above.












Get-Mailbox–identity “<idValue>” | Disable-Mailbox



6. Confirm action to perform. Press Enter.








 Management Console (GUI)








1. Locate object within Exchange management console




2. Right Click and select Disable.








3. Follow the wizard and confirm successful disabling.









Mail Disabling Distribution Groups









How to Mail Disable a Distribution Group.









Command Shell




Note: The –identity can be any of the following attribute values for the distribution group you are going to disable.









<>

</>

<>

</>


<>

</>
<>




</>

<>

</>


<>

</>
<>




</>

<>

</>


<>

</>
<>




</>

<>

</>


<>

</>
<>




</>

<>

</>


<>

</>
<>




</>

<>

</>


<>

</>
<>

</>




Identity Values








GUID








DN








LegacyExchangeDN








Domain\Account Name








Alias












1. Open Exchange Management Shell




2. Have the Identity value on hand.








3. Enter the following command line pull the correct distribution group object.













Get-DistributionGroup –identity “<idValue>”



4. Verify that you have the correct Distribution Group based on the properties displayed.








5. If correct user has been chosen enter the following command to disable the distribution group








Tip: You can “Up” arrow to pull the command just entered above.












Get-DistributionGroup–identity “<idValue>” | Disable-DistributionGroup



6. Confirm action to perform. Press Enter.








Management Console (GUI)




1. Locate object within Exchange management console








2. Right Click and select Disable.








3. Follow the wizard and confirm successful disabling.









Mail Disabling Contacts









How to Mail Disable a Mail Contact object.









Command Shell




Note: The –identity can be any of the following attribute values for the mail contact you are going to disable.









<>

</>

<>

</>


<>

</>
<>




</>

<>

</>


<>

</>
<>




</>

<>

</>


<>

</>
<>




</>

<>

</>


<>

</>
<>




</>

<>

</>


<>

</>
<>

</>




Identity Values








ADObject








Distinguished name








GUID








Alias












2. Have the Identity value on hand.




3. Enter the following command line pull the correct distribution mail contact object













Get-MailContact –identity “<idValue>”











4. Verify that you have the correct Distribution Group based on the properties displayed.




5. If correct user has been chosen enter the following command to disable the Mail Contact.








Tip: You can “Up” arrow to pull the command just entered above.













Get-MailContact–identity “<idValue>” | Disable-MailContact











6. Confirm action to perform. Press Enter.









Management Console (GUI)













  1. Locate object within Exchange management console






  2. Right Click and select Disable.







  3. Follow the wizard and confirm successful disabling.


No comments:

Post a Comment