Quantcast
Channel: Office 365 - 繁體中文
Viewing all articles
Browse latest Browse all 2009

論壇文章:RE: 大量增加群組

$
0
0
Hi S.F.Lai, 要大量增加群组,请参考一下步骤: 一次创建很多群组 1. Use admin credentials to Connect to Exchange Online using remote PowerShell . 2. Prepare a CSV file to import multiple distribution groups, and store it in local disk (for example, C:\distributiongroups.csv ). For example: Name, Type Group1, Distribution Group2, Distribution Note: Name represents display name of the distribution group. 2. Run the command below to bulk import several distribution groups: Import-CSV "D:\distributiongroup.csv" | foreach {New-DistributionGroup -Name $_.name -Type $_.Type} ========== 在这些创建的群组中导入人员信息 1.Prepare a CSV file to contain each user's information, including Display name, Alias, E-mail address, and then store it in local disk (for example, D:\list.csv ). For example: Display name, Alias, E-mail address Member1, member1, member1@contoso.com Member2, member2, member2@contoso.com 2. Import the CSV file to Exchange Online via PowerShell. Run the cmdlet: Import-Csv "D:\list.csv" | foreach{Add-DistributionGroupMember -Identity "GroupName" -Member $_.alias} Note: GroupName represents the distribution group needs to be added members. 执行以上步骤之后,你可以一次创建大量的群组并且在每个群组中加入成员。 Thanks, Brook

Viewing all articles
Browse latest Browse all 2009

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>