Veeam Backup & Replication 10
Veeam PowerShell Reference
Related documents

Copy-VBRAntivirusConfigurationFile

Short Description

Copies the antivirus configuration file.

Applies to

Platform: VMware, Hyper-V

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

Copy-VBRAntivirusConfigurationFile -TargetType <VBRCopyAntivirusConfigFileTargetType> {AllMountServers |SelectedServer} -ConfigurationFilePath <string>
[-SelectedServer <CHost>] [<CommonParameters>]

Detailed Description

This cmdlet allows you to distribute the antivirus configuration file among mount servers in your backup infrastructure.

Veeam Backup & Replication will copy the specified antivirus configuration file to selected mount servers and place the file to the "%Program Files%\Common Files\Veeam\Backup and Replication\Mount Service" folder.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Configuration
File
Path

Specifies the path to the antivirus configuration file.

True

Named

False

False

Target
Type

Specifies the options to distribute the antivirus configuration file among mount servers. You can specify the following options:

  • AllMountServers - use this option if you want to copy the configuration file to all mount servers in your backup infrastructure.
  • SelectedServer - use this option if you want to copy the configuration file to the particular mount server.

True

Named

False

False

SelectedServer

For the SelectedServer option.

Specifies the mount server. Veeam Backup & Replication will copy the configuration file to that mount server.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Return Type

Example

The example shows how to copy the antivirus configuration file to the selected mount server.

  1. Run Get-VBRServer to get the required mount server. Save the result to the $mounthost variable.
  2. Run Copy-VBRAntivirusConfigurationFile with the $mounthost variable. Set the SelectedServer' value for the TargetType parameter.

$mounthost = Get-VBRServer -Name storage

Copy-VBRAntivirusConfigurationFile -ConfigurationFilePath "C:\Program Files\Common Files\Veeam\Backup and Replication\Mount Service\AntivirusInfos.xml" -SelectedServer $mounthost -TargetType SelectedServer

Related Commands

Get-VBRServer

This Document Help Center
User Guide for VMware vSphereUser Guide for Microsoft Hyper-VVeeam Backup Enterprise Manager GuideVeeam Agent Management GuideVeeam Cloud Connect GuideVeeam Explorers User GuideVeeam Plug-ins for Enterprise Applications GuideIntegration with Veeam Backup for AWS User GuideVeeam PowerShell ReferenceVeeam Explorers PowerShell ReferenceVeeam RESTful API ReferenceRequired Permissions for VMware vSphereQuick Start Guide for VMware vSphereQuick Start Guide for Microsoft Hyper-VVeeam ONE DocumentationVeeam Agent for Windows DocumentationVeeam Agent for Linux DocumentationVeeam Backup for AWS DocumentationVeeam Backup for Microsoft Azure DocumentationVeeam Backup for Nutanix AHV User GuideVeeam Backup for Microsoft Office 365 DocumentationVeeam Management Pack Documentation
I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.