Exchange Q&A: Exchange Administration (2)

1.How to create user mailboxes using Exchange Management Shell?

Run the following command:

New-Mailbox -Name NewusersName -UserPrincipalName user@contoso.com -Password (ConvertTo-SecureString -String ‘Password’ -AsPlainText -Force) -FirstName FN -LastName LN -database “Mailbox Database”

2.How to create mailboxes for a exiting user using Exchange Management Shell?

Run the following command:

Enable-Mailbox -Identity Account -Alias user@contoso.com -DisplayName Name -Database “Mailbox Database”

3.How to create a mail contact using the Exchange Management Shell?

Run the following command:

New-MailContact -Name “Whos Name” -ExternalEmailAddress user@hiscompany.com -OrganizationalUnit Users

4.How to mail-enable an exiting contact using Exchange Management Shell?

Run the following command:

Enable-MailContact -Identity “Whos Name” -ExternalEmailAddress user@hiscompany.com

5.What is the difference between Get-Contact/Set-Contact and Get-MailboxContact/Set-MailboxContact?

We use the Get-Contact and Set-Contact cmdlets to view and change organization and contact information properties. Use the Get-MailContact and Set-MailContact cmdlets to view or change mail-related properties.

6.How to create a new mail user using the Exchange Management Shell?

Run the following command:

New-MailUser -Name “Bill Gates” -Alias billgates -ExternalMailAddress billgates@microsoft.com -FirsrName Bill -LastName Gates -UserPrincipalName billgates@contoso.com -Password (ConvertTo-Securestring ‘BillGatesNeedntPassword’ -AsPlainText -Force)

6.What is the difference between Get-User/Set-User and Get-MailUser/Set-MailUser?

We use the Get-User and Set-User cmdlets to view and change organization and contact information properties,  Use the Get-MailUser and Set-MailUser cmdlets to view or change mail-related properties.

7.How to create a room mailbox using Exchange Management Shell?

Run the following command:

New-Mailbox -Database “Mailbox Database” -Name “New Room” -OrganizationalUnit Rooms -DisplayName “New Room” -Room

8.How to create a room list using Exchange Management Shell?

Run the following command:

New-DistributionGroup -Name “Fly Fish Building A” -OrganizationalUnit “contoso.com/rooms” -RoomList

9.How to add a room to a room list using Exchange Management Shell?

Run the following command:

Add-DistributionGroupMember -Identity “Fly Fish building A” -Member 701@contoso.com

10.How to convert a distribution group to a room list?

Run the following command:

Set-DistributionGroup -Identity “Fly Fish Building A” -RoomList

Still have questions? Click here to view Microsoft’s official documentation on Exchange.

发表评论

电子邮件地址不会被公开。 必填项已用*标注