积极答复者
用户离职后删除用户ID,日历信息如何删除?

问题
答案
-
你好,
可以的。可以尝试通过get-mailbox来限定范围,例如:
删除特定OU中的所有邮箱的邮件
Get-Mailbox -OrganizationalUnit "domain.com/OUName" |Search-Mailbox ......
删除特定邮箱的邮件:
Get-Mailbox "UserName" | Search-Mailbox ......
Best Regards,
Niko Cheng
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.- 已建议为答案 Niko.ChengModerator 2018年2月1日 9:07
- 已标记为答案 mamaki 2018年2月2日 1:58
全部回复
-
你好,
可以尝试使用下面两种方式删除:
1.搜索会议室邮箱中所有来自离职用户(User@domain.com)的会议请求,并删除:
Get-Mailbox -RecipientTypeDetails Roommailbox | Search-Mailbox -searchquery "kind:meetings from:User@domain.com" -deletecontent
2.搜索所有邮箱中接受来自离职用户的会议请求并删除:
Get-Mailbox -ResultSize Unlimited | Search-Mailbox -searchquery "kind:meetings from:User@domain.com" -deletecontent
Best Regards,
Niko Cheng
Please remember to mark the replies as answers if they helped.
If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.- 已标记为答案 mamaki 2018年1月22日 3:30
- 取消答案标记 mamaki 2018年2月1日 2:40
- 已建议为答案 Niko.ChengModerator 2018年2月1日 9:08
-
你好,
可以的。必须分配“邮箱导入导出”管理角色才能删除邮件,默认情况下,“邮箱导入导出”角色未分配给任何角色组。
你可以将“邮箱导入导出”角色加到内置的角色组,然后再次执行:
Best Regards,
Niko Cheng
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams. -
你好,
可以的。可以尝试通过get-mailbox来限定范围,例如:
删除特定OU中的所有邮箱的邮件
Get-Mailbox -OrganizationalUnit "domain.com/OUName" |Search-Mailbox ......
删除特定邮箱的邮件:
Get-Mailbox "UserName" | Search-Mailbox ......
Best Regards,
Niko Cheng
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.- 已建议为答案 Niko.ChengModerator 2018年2月1日 9:07
- 已标记为答案 mamaki 2018年2月2日 1:58
-
你好,
问题是否有任何进展?如果还有其他问题,请及时贴出来;如果问题已解决,请将其标记为答复,这样有助于其他论坛成员更方便的搜寻答案,感谢理解!
谢谢!
Best Regards,
Niko Cheng
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.