New-VBRStorageProtocolPolicy
Short Description
Creates protocol policies for storage systems.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
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 | Accept |
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
Example 1
This command creates an iSCSI protocol policy. Save it to the $protocol variable for future needs.
Example 2
This example shows how to change the protocol over which the HPE 3PAR StoreServ storage is connected.
- Run Get-HP3Storage to get the storage whose settings you want to modify. Save the result to the $storage variable.
- Run New-VBRStorageProtocolPolicy to create a protocol policy. Save the result to the $protocol variable.
- 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