Skip to content

Set-OVApplianceProxy

Syntax

Set-OVApplianceProxy
    [-Hostname] <String>
    [-Port] <Int>
    [-Https]
    [-Async]
    [-ApplianceConnection <Object>]
    [<CommonParameters>]
Set-OVApplianceProxy
    [-Hostname] <String>
    [-Port] <Int>
    [-Username] <String>
    [-Password] <System.Security.SecureString>
    [-Https]
    [-Async]
    [-ApplianceConnection <Object>]
    [<CommonParameters>]

Description

When configuring Remote Support, a Web Proxy may be required. This Cmdlet will assist in defining an HTTPS web proxy for Remote Support outbound connectivity. Proxy configuration does not support SOCKS.

Examples

Example 1

Set-OVApplianceProxy -Hostname MyProxy.domain.com -Port 8080

Configure the appliance proxy server by providing the required Hostname and Port values.

Example 2

Set-OVApplianceProxy -Hostname MyProxy.domain.com -Port 8080 -Username MyUserAccount -Password (ConvertTo-SecureString -String MyPassword -AsPlainText -Force)

Configure the appliance proxy server by providing the required Hostname and Port values, and using proxy authentication.

Parameters

-Hostname <String>

The FQDN or IP Address of the HTTPS Proxy server.

Aliases None
Required? True
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

-Port <Int>

The web proxy TCP port to connect to.

Aliases None
Required? True
Position? Named
Default value 0
Accept pipeline input? false
Accept wildcard characters? False

-Username <String>

The user name of your proxy server to authenticate with.

Aliases None
Required? True
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

-Password <System.Security.SecureString>

The proxy server account password.

Aliases None
Required? True
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

-Async <SwitchParameter>

Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.

Aliases None
Required? False
Position? Named
Default value False
Accept pipeline input? false
Accept wildcard characters? False

-ApplianceConnection <Object>

Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s).

Aliases Appliance
Required? False
Position? Named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters? False

-Https <SwitchParameter>

Specify if target proxy server requires HTTPS. The target SSL/TSL certificate must be added to the appliance using the Add-OVApplianceTrustedCertificate Cmdlet.

Aliases None
Required? False
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

None. You cannot pipe objects to this Cmdlet.

Return Values

Async task Resource object for monitoring.