Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

New-VBRStorageProtocolPolicy

Short Description

Creates protocol policies for storages.

Applies to

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

New-VBRStorageProtocolPolicy [-iSCSI] [-FibreChannel] [-NFS] [<CommonParameters>]

Detailed Description

This cmdlet creates a protocol policy for storages. 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 about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VBRStorageProtocolPolicy

Example 1

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

PS C:\PS> $protocol = New-VBRStorageProtocolPolicy -iSCSI

Example 2

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

You will need to perform the following steps:

  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.

PS C:\PS> $storage = Get-HP3Storage -Name "HPE 3PAR StoreServ"

PS C:\PS> $protocol = New-VBRStorageProtocolPolicy -iSCSI

PS C:\PS> Set-HP3Storage -Host $storage -ProtocolPolicy $protocol

Related commands

Get-HP3Storage

Set-HP3Storage

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation