询问者
exchange2010如何用命令行模式批量 启用某些用户邮箱存档,并调用存档模版

问题
全部回复
-
你好,
可以使用下面的指令来批量启用用户邮箱存档:
下面指令是把所有邮箱的存档都启用:
Get-mailbox -Resultsize unlimited| Enable-mailbox -Archive
如果只是启用部分用户,可以将需要启用邮箱存档的用户集中到一个特殊的OU中,然后再批量启用:
Get-Mailbox -OrganizationalUnit OUName | Enable-mailbox -Archive
另外,你这是说的存档模板具体是指什么?
谢谢!
Niko Cheng
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. -
你好,
可以使用下面的指令来批量启用用户邮箱存档:
下面指令是把所有邮箱的存档都启用:
Get-mailbox -Resultsize unlimited| Enable-mailbox -Archive
如果只是启用部分用户,可以将需要启用邮箱存档的用户集中到一个特殊的OU中,然后再批量启用:
Get-Mailbox -OrganizationalUnit OUName | Enable-mailbox -Archive
另外,你这是说的存档模板具体是指什么?
谢谢!
Niko Cheng
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. -
你好,
可以使用下面的指令将创建的保留策略应用到邮箱:
Set-Mailbox "UserName" -RetentionPolicy "PolicyName"
同样的也可以批量应用保留策略:
Get-Mailbox -Resultsize unlimited| Set-Mailbox -RetentionPolicy "PolicyName"
详情请参考:
谢谢!
Niko Cheng
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已建议为答案 Niko.ChengModerator 2016年10月5日 3:08
- 已标记为答案 Niko.ChengModerator 2016年10月9日 11:03
- 取消答案标记 gerry2010 2016年10月18日 6:18
- 取消建议作为答案 gerry2010 2016年10月18日 6:18
-
你好,
问题是否有任何进展?如果还有其他问题,请及时贴出来;如果问题已解决,请将其标记为答复,这样有助于其他论坛成员更方便的搜寻答案,感谢理解!
谢谢!
Niko Cheng
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. -
1、在设置个人存档的时候时候,默认是使用父文件夹策略,请问如何知晓父文件夹策略是什么,2、在保留策略标记里面已经添加了相应的邮箱地址,如何将存档策略标记和保留策略标记默认就使用已经创建好的策略,3、如何让客户在登陆owa的时候无法手动变更保留策略标记和存档策略标记,4、个人存档文件夹在变更owa中手动变更存档标记时,报错,信息如下:
Request
Url: https://mail.xxxyyy.com:443/owa/ev.owa?oeh=1&ns=DeletePolicy&ev=ApplyPolicy
User: postmaster
EX Address: /o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=postmaster2f7d38a6
SMTP Address: postmaster@xxxyyy.com
OWA version: 14.3.123.3
Mailbox server: EXSRV.xxxyyy.com
Exception
Exception type: System.ArgumentException
Exception message: policyGuid is invalid
Call stack
在 Microsoft.Exchange.Clients.Owa.Premium.PolicyProvider.SetPolicyTag(StoreObject itemOrFolder, Boolean isInherited, Nullable`1 policyGuid) 在 Microsoft.Exchange.Clients.Owa.Premium.PolicyProvider.ApplyPolicyTag(StoreObject itemOrFolder, Guid policyGuid) 在 Microsoft.Exchange.Clients.Owa.Premium.PolicyEventHandlerBase.<>c__DisplayClass6.b__4(StoreObject storeObject) 在 Microsoft.Exchange.Clients.Owa.Premium.PolicyEventHandlerBase.DoPolicyOnFolder(MailboxSession mailboxSession, StoreObjectId folderId, Boolean readOnly, PolicyDelegate policyDelegate) 在 Microsoft.Exchange.Clients.Owa.Premium.PolicyEventHandlerBase.ApplyPolicy()