Skip to content

Get HPOVPowerPotentialDeviceConnection

Chris Lynch edited this page Jul 25, 2016 · 37 revisions

HPE OneView 2.00 Library

Get-HPOVPowerPotentialDeviceConnection

Retrieve Power Device (mPDU/Rack PDU) Potentail Connections

SYNTAX

Get-HPOVPowerPotentialDeviceConnection [-PowerDevice] <Object> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

Obtain a collection of potential managed and unmanaged device power connections for the provided power device resoruce. The returned value(s) will include the potential power connections that can be manually associated when not using iPDU devices.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

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

-PowerDevice <Object>

Aliases [-uri, -name] The name of the power device resource. Can provide Name, URI or Object.

Aliases uri, name
Required? true
Position? 0
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

System.Management.Automation.PSCustomObject Potential managed/unmanaged device Power Delivery Device connection object.

Return Values

System.Collections.ArrayList Collection of matching potential power device connection objects.

Examples

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

PS C:\> Get-HPOVPowerDevice "iPDU_A" | Get-HPOVPowerPotentialDeviceConnection

Return the potential power device connections for the "iPDU_A" power delivery device.

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

PS C:\> Get-HPOVPowerPotentialDeviceConnection "iPDU_A"

Return the potential power device connections for the "iPDU_A" power delivery device.

Related Links

HPE OneView 1.20 Library

Get-HPOVPowerPotentialDeviceConnection

Retrieve Power Device (mPDU/Rack PDU) Potentail Connections

SYNTAX

Get-HPOVPowerPotentialDeviceConnection [-powerDevice] <powerDevice> [<CommonParameters>]

Detailed Description

Obtain a collection of potential managed and unmanaged device power connections for the provided power device resoruce. The returned value(s) will include the potential power connections that can be manually associated when not using iPDU devices.

Parameters

-powerDevice <powerDevice>

Aliases [-uri, -name] The name of the power device resource. Can provide Name, URI or Object.

Aliases None.
Required? true
Position? 1
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

System.Management.Automation.PSCustomObject Potential managed/unmanaged device Power Delivery Device connection object.

Return Values

System.Array Collection of matching potential power device connection objects.

Examples

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

PS C:\> $powerDevices = Get-HPOVPowerDevice

Return all the power devices managed by this appliance.

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

PS C:\> Get-HPOVPowerDevice "mPDU_A" | Get-HPOVPowerPotentialDeviceConnection

Return the potential power device connections for the "mPDU_A" power delivery device.

 -------------------------- EXAMPLE 3 --------------------------

PS C:\> Get-HPOVPowerPotentialDeviceConnection "mPDU_A"

Return the potential power device connections for the "mPDU_A" power delivery device.

Related Links

Wiki Table of Contents

Clone this wiki locally