New-VBRStorageProtocolPolicy

Short Description

Creates protocol policies for storage systems.

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

New-VBRStorageProtocolPolicy [-iSCSI] [-FibreChannel] [-NFS] [-SMB] [-NVMe] [-CreateExportRulesAutomatically] [<CommonParameters>]

Detailed Description

This cmdlet creates a protocol policy for storage systems.

You can select a protocol over which you want to work with the storage system: iSCSI, FibreChannel, NFS or SMB.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

CreateExportRulesAutomatically

For SMB and NFS protocols.

Defines whether to automatically create export rules on the storage system during storage rescan, backup and restore operations.

SwitchParameter

False

Named

False

FibreChannel

Defines that the storage works over the FibreChannel protocol.

SwitchParameter

False

Named

False

iSCSI

Defines that the storage works over the iSCSI protocol.

SwitchParameter

False

Named

False

NFS

Defines that the storage works over the NFS protocol.

SwitchParameter

False

Named

False

NVMe

Defines that the storage works over the NVMe protocol.

SwitchParameter

False

Named

False

SMB

Defines that the storage works over the SMB protocol.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

VBRStorageProtocolPolicy

Examples

New-VBRStorageProtocolPolicyExample 1. Creating iSCSI Protocol Policy

This command creates an iSCSI protocol policy. Save it to the $protocol variable for future needs.

$protocol = New-VBRStorageProtocolPolicy -iSCSI

New-VBRStorageProtocolPolicyExample 2. Changing iSCSI Protocol for HPE 3PAR StoreServ Storage

This example shows how to change the protocol over which the HPE 3PAR StoreServ storage is connected.

$storage = Get-HP3Storage -Name "HPE 3PAR StoreServ"

$protocol = New-VBRStorageProtocolPolicy -iSCSI

Set-HP3Storage -Host $storage -ProtocolPolicy $protocol

Perform the following steps:

  1. Run the Get-HP3StorageReturns HPE 3PAR StoreServ storage systems. cmdlet. Specify the Name parameter value. Save the result to the $storage variable.
  2. Run the New-VBRStorageProtocolPolicy cmdlet. Provide the iSCSI parameter. Save the result to the $protocol variable.
  3. Run the Set-HP3StorageModifies settings of HPE 3PAR StoreServ storage systems. cmdlet. Set the $storage variable as the Host parameter value. Set the $protocol variable as the ProtocolPolicy parameter value.

New-VBRStorageProtocolPolicyExample 3. Setting Protocol Policy for InterSystems IRIS Application Backup

This example shows how to set an iSCSI protocol policy for a Universal Storage API integrated system and enable InterSystems IRIS application backup.

$storage = Get-StoragePluginHost -Name "IBM Spectrum"

$protocol = New-VBRStorageProtocolPolicy -iSCSI

Set-StoragePluginHost -Host $storage -EnableApplicationBackup -ApplicationProtocolPolicy $protocol

Perform the following steps:

  1. Run the Get-StoragePluginHostReturns Universal Storage API integrated systems. cmdlet. Specify the Name parameter value. Save the result to the $storage variable.
  2. Run the New-VBRStorageProtocolPolicyCreates protocol policies for storage systems. cmdlet. Provide the iSCSI parameter. Save the result to the $protocol variable.
  3. Run the Set-StoragePluginHostModifies settings of Universal Storage API integrated systems. cmdlet. Set the $storage variable as the Host parameter value. Provide the EnableApplicationBackup parameter. Set the $protocol variable as the ApplicationProtocolPolicy parameter value.

Page updated 2026-08-19

Page content applies to build 13.1.1.18