★新建一个邮箱账号
a:新建一个mailbox
New-Mailbox-Name'wendychen(张三_WEN)'-Alias'wendy_chen'-OrganizationalUnit'WEN.COM/Accounts/MIS'-UserPrincipalName'wendy_chen@wen.com'-SamAccountName'wendy_chen'-FirstName'三'-Initials''-LastName'张'-ResetPasswordOnNextLogon$false-Database'MBX0901'
b:设置邮件最大发送大小
Set-Mailbox-MaxSendSize'15MB'-MaxReceiveSize'unlimited'-identitywendy_chen
c:设置所有邮箱的邮件最大发送大小
get-mailbox-ResultSizeUnlimited-DomainControllerdc01|Set-Mailbox-MaxSendSize'15MB'-MaxReceiveSize'unlimited'
★新建一个功能性群组
new-DistributionGroup-Name'%test'-Type'Security'-OrganizationalUnit'WEN.COM/Groups/GroupFunction'-SamAccountName'%test'-Alias'test'