Enterprise Vault™ PowerShell Cmdlet
- Enterprise Vault PowerShell Cmdlet 简介
- 归档:Exchange
- 归档:FSA
- Get-EVFSAComputerSettings
- Get-EVFSAFileServer
- Get-EVFSAFolder
- Get-EVFSASiteSettings
- Get-EVFSAVolume
- New-EVFSAFileServer
- New-EVFSAFolder
- New-EVFSAVolume
- Remove-EVFSAFileServer
- Remove-EVFSAFolder
- Remove-EVFSAVolume
- Set-EVFSAComputerSettings
- Set-EVFSAFileServer
- Set-EVFSAFolder
- Set-EVFSASiteSettings
- Set-EVFSAVolume
- 归档:Skype for Business
- 归档:SMTP
- Get-EVSMTPHoldingFolder
- Get-EVSMTPMessageTrackingLogLocation
- Get-EVSMTPPolicy
- Get-EVSMTPServerSettings
- Get-EVSMTPTarget
- New-EVSMTPPolicy
- New-EVSMTPServerSettings
- New-EVSMTPTarget
- Remove-EVSMTPPolicy
- Remove-EVSMTPTarget
- Set-EVSMTPMessageTrackingLogLocation
- Set-EVSMTPPolicy
- Set-EVSMTPServerSettings
- Set-EVSMTPTarget
- Sync-EVSMTPServerSettings
- 备份
- Get-EVIndexSnapshotLocationBackupMode
- Set-EVIndexSnapshotLocationBackupMode
- Clear-EVIndexSnapshotLocationBackupMode
- Get-IndexLocationBackupMode
- Set-IndexLocationBackupMode
- Clear-IndexLocationBackUpMode
- Get-VaultStoreBackupMode
- Set-VaultStoreBackupMode
- Clear-VaultStoreBackupMode
- Set-EVIndexSnapshotLocation
- Get-EVIndexSnapshotLocation
- Remove-EVIndexSnapshotLocation
- New-EVIndexSnapshot
- Get-EVIndexSnapshot
- Remove-EVIndexSnapshot
- Restore-EVIndexSnapshot
- Get-EVIndexSnapshotRepository
- Remove-EVIndexSnapshotRepository
- Export-EVIndexData
- Import-EVIndexData
- 分类
- Disable-EVClassification
- Get-EVClassificationFCITags
- Get-EVClassificationPolicy
- Get-EVClassificationStatus
- Get-EVClassificationTestMode
- Get-EVClassificationVICTags
- Import-EVClassificationFCIRules
- Initialize-EVClassificationVIC
- Set-EVClassificationVICFIPSMode
- New-EVClassificationPolicy
- Publish-EVClassificationFCIRules
- Remove-EVClassificationPolicy
- Set-EVClassificationPolicy
- Set-EVClassificationTestMode
- 数据库
- IMAP 访问
- 索引
- 记录管理
- 保留计划
- 基于角色的管理
- 站点和服务器
- 任务和服务
- 保管库存储和归档
Set-EVSMTPPolicy
Set-EVSMTPPolicy 设置或更新现有 SMTP 策略的属性。如果您未使用 -SiteID 参数指定站点 ID,且 Set-EVSMTPPolicy 无法确定站点,则将提示您输入站点 ID。如果您指定 X-HEADER,Set-EVSMTPPolicy 将覆盖策略中的现有 X-HEADER。
Set-EVSMTPPolicy 由管理单元 Symantec.EnterpriseVault.PowerShell.AdminAPI.dll 提供。
Set-EVSMTPPolicy [-SiteId] <String> [-Name] <String> [-Description <String>] [-XHeaders <Symantec.EnterpriseVault.Admin.SMTPXHeaders>] [<CommonParameters>]
表:Set-EVSMTPPolicy 参数
参数 | 说明 |
|---|---|
-SiteId(必填) | SMTP 策略所属的站点 ID。 |
-Name(必填) | 您要更新的 SMTP 策略的名称。 |
-Description | SMTP 策略的新说明。 |
-XHeaders | 您要添加到 SMTP 策略的新 X-HEADER 列表。Set-EVSMTPPolicy 自动删除所有现有 X-HEADER,并使用新的列表进行替换。 有关 X-HEADER 列表管理的详细信息,在 PowerShell 提示符处键入 get-help about_SMTPXHeaders。 |
Set-EVSMTPPolicy -SiteId '13E...example.com' -Name 'SMTP policy' -Description 'SMTP journal archiving policy'
更新名为“SMTP 策略”的 SMTP 策略的说明。现有 X-HEADER 保持不变。
您可以使用以下命令序列更新名为“SMTP 策略”的 SMTP 策略的 X-HEADER 列表。
$xh = New-Object Symantec.EnterpriseVault.Admin.SMTPXHeader 'x-Encoding'
创建一个 X-HEADER 名称为“x-Encoding”的新 X-HEADER 对象,所有其他属性均为默认值:“类型”为 0(字符串)、“可搜索”为 0(不可搜索)以及“可检索”为 0(不可检索)。
Set-EVSMTPPolicy -SiteId '13E...example.com' -Name 'SMTP policy' -XHeaders $xh
将策略“SMTP 策略”的 X-HEADER 替换为使用先前命令指定的值。
Set-EVSMTPPolicy 不返回输出。