Enable HPOVRemoteSupport - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Enable-HPOVRemoteSupport

Enable Remote Support for a supported resource.

SYNTAX

Enable-HPOVRemoteSupport [-InputObject] <Object>[ [-Async] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

This Cmdlet will enable Remote Support for a compute or enclosure resource. If remote support has not been globally enabled and configured on the appliance, this Cmdlet will fail.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
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

-InputObject <Object>

The compute or enclosure resource to enable Remote Support for.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
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

HPOneView.ServerHardware [System.Management.Automation.PSCustomObject]

A Gen8 or newer generation server hardware resource object from Get-HPOVServer.

HPOneView.Enclosure [System.Management.Automation.PSCustomObject]

A Gen8 or newer generation server hardware resource object from Get-HPOVServer.

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Async task Resource object for monitoring.

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVServer -Name Prod* | Enable-HPOVRemoteSupport

Get the servers with their name matching "Prod" and enable Remote Support for those resources.

 -------------------------- EXAMPLE 2 --------------------------

$Enclosure = Get-HPOVEnclousre -Name Enclosure-1A Enable-HPOVRemoteSupport -InputObject $Enclusre

Get the specific enclosure reousrce and enable Remote Support.

Related Links


Top

HPE OneView 4.00 Library

Enable-HPOVRemoteSupport

Enable Remote Support for a supported resource.

SYNTAX

Enable-HPOVRemoteSupport [-InputObject] <Object>[ [-Async] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

This Cmdlet will enable Remote Support for a compute or enclosure resource. If remote support has not been globally enabled and configured on the appliance, this Cmdlet will fail.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
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

-InputObject <Object>

The compute or enclosure resource to enable Remote Support for.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
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

HPOneView.ServerHardware [System.Management.Automation.PSCustomObject]

A Gen8 or newer generation server hardware resource object from Get-HPOVServer.

HPOneView.Enclosure [System.Management.Automation.PSCustomObject]

A Gen8 or newer generation server hardware resource object from Get-HPOVServer.

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Async task Resource object for monitoring.

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVServer -Name Prod* | Enable-HPOVRemoteSupport

Get the servers with their name matching 'Prod' and enable Remote Support for those resources.

 -------------------------- EXAMPLE 2 --------------------------

$Enclosure = Get-HPOVEnclousre -Name Enclosure-1A Enable-HPOVRemoteSupport -InputObject $Enclusre

Get the specific enclosure reousrce and enable Remote Support.

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️