Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Exchange 2013 batch New Mailbox users

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Requirements: create a batch of mailbox users with scripts, and require that the user account is an AD domain account.

Action:

Open the AD directory, move the new user to new user's OU in advance, open exchange 2013 EMS, and enter the following command

New mailbox users specify the storage location of the new mailbox is mdb-001 database Get-User-OrganizationalUnit newuser | where-Object {$_ .accounienttype-eq "user"} | Enable-Mailbox-Database "mdb-001" | Set-Mailbox-MaxSendSize 4MB-MaxReceiveSize 4mb

Enter the following command

Close the mobile mailbox, close the web mailbox $a=Get-User-OrganizationalUnit newuserforeach ($b in $a) {Set-CASMailbox-Identity $b.name-ActivesyncEnabled:$false-owaenabled:$false}

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report