New-VBRStorageProtocolPolicy

Short Description

Creates protocol policies for storage systems.

Applies to

Platform: VMware

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

Syntax

New-VBRStorageProtocolPolicy [-iSCSI] [-FibreChannel] [-NFS] [<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 or NFS.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

iSCSI

Indicates that the storage works over the iSCSI protocol.

False

Named

False

False

FibreChannel

Indicates that the storage works over the FibreChannel protocol.

False

Named

False

False

NFS

Indicates that the storage works over the NFS protocol.

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

VBRStorageProtocolPolicy

Example 1

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

$protocol = New-VBRStorageProtocolPolicy -iSCSI

Example 2

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

  1. Run Get-HP3Storage to get the storage whose settings you want to modify. Save the result to the $storage variable.
  2. Run New-VBRStorageProtocolPolicy to create a protocol policy. Save the result to the $protocol variable.
  3. Run Set-HP3Storage with the $storage and $protocol variables.

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

$protocol = New-VBRStorageProtocolPolicy -iSCSI

Set-HP3Storage -Host $storage -ProtocolPolicy $protocol

Related commands

Get-HP3Storage

Set-HP3Storage