This is an archive version of the document. To get the most up-to-date information, see the current version.

Set-NetAppHost

Short Description

Modifies NetApp storages.

Applies to

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Set-NetAppHost -Host <CNaHost> [-Name <string>] [-Description <string>] [-UserName <string>] [-Password <string>] [-Credentials <CCredentials>] [-IsHTTP <bool>] [-Port <int>] [-Proxy <IProxy[]>] [-EnableProxyAutoSelection]  [<CommonParameters>]

Related Commands

Get-NetAppHost

Get-VBRCredentials

Get-VBRViProxy \ Get-VBRHvProxy

Detailed Description

This cmdlet modifies a selected NetApp storage settings. To modify settings, you need to enter the corresponding parameters with new values. The parameters that you omit will remain unchanged.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Host

Specifies the storage you want to modify.

True

Named

True (by Value
FromPipeline, ValueFromPipeline
ByPropertyName)

False

Name

Specifies the storage IP address or DNS name.

True

Named

False

False

Description

Specifies the description of the storage.

False

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

Credentials

Specifies the CCredentials object containing the credentials record you want to use for authenticating with the storage.

True

Named

False

False

IsHTTP

If set to TRUE, HTTP protocol will be used to connect to the NetApp storage. Otherwise, HTTPS protocol will be selected. By default, HTTPS is used.

False

Named

False

False

Port

Sets a port used to connect to the NetApp storage. By default, port 443 is used.

False

Named

False

False

Proxy

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

False

Named

False

False

EnableProxyAutoSelection

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

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 changes the storage connection from default to HTTP. The storage is obtained with Get-NetAppHost and assigned to the '$netapp' variable beforehand.

PS C:\PS> Set-NetAppHost -Host $netapp -IsHTTP "True"

Example 2

This command changes the port to 80. The storage is obtained with Get-NetAppHost and assigned to the '$netapp' variable beforehand.

PS C:\PS> Set-NetAppHost -Host $netapp -IsHttp -Port 80