【发布时间】:2018-11-14 21:34:12
【问题描述】:
我已经在 o365 中创建了共享邮箱。 现在我需要将成员批量导入这些共享邮箱。
如何在 powershell 中做到这一点? 我想做这样的事情
$users = import-csv -Path "C:\path\members.csv" -Delimiter ";"
Foreach ($user in $users){
Add-mailboxpermission -identity "name of the shared mail box" -user $user -accessrights FullAccess
}
有什么想法吗?
【问题讨论】:
-
请显示您的一些(清理)csv 内容。你有标题吗?
标签: powershell office365