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 username/password:

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

  • For authenticating with 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 string with a full DNS name or IP address of the storage.

True

Named

True (ByValue,
ByProperty
Name)

False

UserName

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

False

Named

False

False

Password

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

False

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.

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 1

This command adds a storage using username/password.

PS C:\PS> Add-HP4Storage -DnsOrIpAddress 167.16.2.134 -UserName "Administrator" -Password "Password" -Description "HPE StoreVirtual LeftHand Storage"

Example 2

This command adds a storage using credentials.

  1. Run Get-VBRCredentials to get the credentials and save the result to the $credentials variable.
  2. Run Add-HP4Storage with the $credentials variable.

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

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

Related Commands

Get-VBRCredentials

Get-VBRViProxy \ Get-VBRHvProxy

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 Endpoint Backup Documentation

Veeam Management Pack Documentation