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

Add-HP4Storage

Short Description

Adds HPE StoreVirtual storages to Veeam Backup & Replication.

Applies to

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus

Storage system: HPE StoreVirtual (LeftHand/P4000), HPE StoreVirtual VSA

Syntax

This cmdlet provides 2 parameter sets.

  • For authenticating with the storage using user name and password:

Add-HP4Storage -DnsOrIpAddress <string> -UserName <string> -Password <string> [-Name <string>] [-Description <string>] [-Proxy <IProxy[]>] [-iSCSI] [-NFS] [-FibreChannel] [-WhatIf] [-Confirm]  [<CommonParameters>]

  • For authenticating with the storage using credentials:

Add-HP4Storage -DnsOrIpAddress <string> -Credentials <CCredentials> [-Name <string>] [-Description <string>] [-Proxy <IProxy[]>] [-iSCSI] [-NFS] [-FibreChannel] [-WhatIf] [-Confirm]  [<CommonParameters>]

Detailed Description

This cmdlet adds a selected HPE StoreVirtual storage to Veeam Backup & Replication.

When you add a storage to your management console, Veeam Backup & Replication automatically rescans the storage infrastructure. To rescan the storage infrastructure manually, run Sync-HP4Storage or Sync-HP4Volume.

When adding a storage, you will need to provide either username/password or credentials. Use an appropriate parameter set for each case.

Alias

Add-VBRHPStorage

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

DnsOr
IpAddress

Specifies the storage IP address or DNS name.

True

Named

False

False

UserName

Specifies the user name you want to use for authenticating with the storage.

True

Named

False

False

Password

Specifies the password you want to use for authenticating with the storage.

True

Named

False

False

Name

Specifies the name of the management group to which the storage belongs.

False

Named

False

False

Credentials

Specifies the credentials you want to use for authenticating with the storage.

True

Named

False

False

Description

Specifies the description of the storage.

False

Named

False

False

Proxy

Specifies the array of proxies you want to use with this storage.

If set, Veeam Backup & Replication will use the selected proxies. If not set, Veeam Backup & Replication will use automatic proxy selection.

False

Named

False

False

iSCSI

Indicates that the storage works over iSCSI protocol.

False

Named

False

False

NFS

Indicates that the storage works over NFS protocol.

False

Named

False

False

FibreChannel

Indicates that the storage works over FibreChannel protocol.

False

Named

False

False

WhatIf

Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action.

False

Named

False

False

Confirm

Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.

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.

Example

This example shows how to add the HPE StoreVirtual storage to the backup infrastructure using credentials.

You will need to perform the following steps:

  1. Run Get-VBRCredentials to get a credentials record for the storage. Save the result to the $credentials variable.
  2. Run Get-VBRViProxy to get a backup proxy that will be used for storage rescan and Backup from Storage Snapshots. Save the result to the $proxy variable.
  3. Run Add-HP4Storage with the $credentials and $proxy variables.

PS C:\PS> $credentials = Get-VBRCredentials -Name "HPE StoreVirtual P4000 Administrator"

PS C:\PS> $proxy = Get-VBRViProxy -Name 167.16.2.130

PS C:\PS> Add-HP4Storage -DnsOrIpAddress 167.16.2.134 -Credentials $credentials -Proxy $proxy -Description "HPE StoreVirtual P4000 Storage"

Related Commands

Get-VBRCredentials

Get-VBRViProxy

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