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

Set-HP4Storage

Short Description

Modifies settings of HPE StoreVirtual storage systems.

Applies to

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus

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

Syntax

Set-HP4Storage -Host <CHpP4kGroup> [-DnsOrIpAddress <string>] [-Description <string>] [-UserName <string>][-Password <string>] [-Credentials <CInternalCredentials>] [-Proxy <IProxy[]>] [-VolumeScanType <VBRVolumeScanType> {All | Exclude | Include}] [-IncludedVolume <CSanInfrastructureVolume[]>] [-ExcludedVolume <CSanInfrastructureVolume[]>] [-EnableProxyAutoSelection] [-ProtocolPolicy <VBRStorageProtocolPolicy>] [-WhatIf] [-Confirm]  [<CommonParameters>]>]

Detailed Description

This cmdlet modifies settings of HPE StoreVirtual storage systems. When you modify storage system settings, the cmdlet automatically rescans storage systems.

To modify settings, enter the necessary parameters with new values. The parameters that you omit will remain unchanged.

Set-HP4Storage Tip:

You can specify the scope of volumes that you want to rescan with the VBRVolumeScanType parameter.

Run Get-HP4InfrastructureVolume to get an array of volumes from HPE StoreVirtual storage systems.

Alias

Set-VBRHPStorage

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Host

Specifies the storage you want to modify.

True

Named

True (ByValue,
ByProperty
Name)

False

DnsOrIpAddress

Specifies the string with a full DNS name or IP address of the storage.

False

Named

False

False

Description

Specifies the description of the storage.

False

Named

False

False

UserName

Specifies the username that 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

Credentials

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

False

Named

False

False

Proxy

Specifies the array of proxies you want to use.

False

Named

False

False

EnableProxyAutoSelection

Indicates that Veeam Backup & Replication will use automatic proxy selection.

False

Named

False

False

ProtocolPolicy

Specifies the protocol policy for the storage.

Accepts the VBRStorageProtocolPolicy type.

False

Named

False

False

VolumeScanType

Specifies the scope of volumes that you want to rescan.

You can use the following options to rescan the volumes:

  • All - choose this option to scan all volumes that were added to your backup infrastructure with the initial scan.
  • Exclude - choose this option to exclude volumes from scan.
    NOTE: Veeam Backup & Replication will not show excluded volumes in the backup infrastructure after the rescan.
    Use the ExcludedVolume parameter to specify the excluded volumes.
  • Include - choose this option to scan only the specified storage volumes.
    Use the IncludedVolume parameter to specify the included volumes.

False

Named

False

 

IncludedVolume

For the VolumeScanType parameter with the Include option.

Specifies an array of storage volumes that you want to rescan.

NOTE: Veeam Backup & Replication will show only rescanned volumes in the backup infrastructure.

Accepts the CSanInfrastructureVolume type.

False

Named

False

 

ExcludedVolume

For the VolumeScanType parameter with the exclude option.

Specifies an array of storage volumes that you do not want to rescan.

NOTE: Veeam Backup & Replication will not show the excluded volumes in the backup infrastructure after the rescan.

Accepts the CSanInfrastructureVolume type.

False

Named

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 example shows how to enable the automatic proxy selection for the HPE StoreVirtual storage.

  1. Run Get-HP4Storage to get the storage that you want to modify. Save the result to the $storage variable.
  2. Run Set-HP4Storage with the $storage variable. Use EnableProxyAutoSelection parameter for the automatic proxy selection.

$storage = Get-HP4Storage -Name ""HPE StoreVirtual VSA""

Set-HP4Storage -Host $storage -EnableProxyAutoSelection

Example 2

This example shows how to exclude the specified HPE StoreVirtual storage volumes from the rescan session.

  1. Run Get-HP4Storage to get the storage system whose settings you want to modify. Save the result to the $storage variable.
  2. Run Get-HP4InfrastructureVolume to get volumes that you do not want to rescan. Save the result to the $volumes variable.
  3. Run Set-HP4Storage with the $storage and $volumes variables.

$storage = Get-HP4Storage -Name ""HPE StoreVirtual VSA""

$volumes = Get-HP4InfrastructureVolume -Name "Volume4", "Volume5", "Volume1"

Set-HP4Storage -Host $storage -VolumeScanType Exclude -ExcludedVolume $volumes

Example 3

This example shows how to rescan all volumes added to an HPE StoreVirtual storage system.

  1. Run Get-HP4Storage to get the storage that you want to modify. Save the result to the $storage variable.
  2. Run Get-HP4InfrastructureVolume with the Host parameter to get volumes that you want to rescan. Save the result to the $volumes variable.
  3. Run Set-HP4Storage with the $storage and $volumes variables.

$storage = Get-HP4Storage -Name ""HPE StoreVirtual VSA""

$volumes = Get-HP4InfrastructureVolume -Storage $storage

Set-HP4Storage -Host $storage -VolumeScanType Include -Included $volumes

Related Commands

Get-HP4Storage

Get-VBRCredentials

Get-VBRViProxy

New-VBRStorageProtocolPolicy

Get-HP4InfrastructureVolume

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions Reference

Veeam Availability for Nutanix AHV

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation

Quick Start Guide for VMware vSphere

Quick Start Guide for Microsoft Hyper-V