Get HPOVPowerDevice - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Get-HPOVPowerDevice

Retrieve Power Device (iPDU) resource(s).

SYNTAX

Get-HPOVPowerDevice[ [-Name] <String>][ [-Type] <String>][ [-ApplianceConnection] <Object>] [<CommonParameters>]

Detailed Description

Obtain a collection of power device resources which have the specified name, and display the information about the power device.

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? false
Position? 2
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Name <String>

The name of the power device resource to be returned. All power device resources will be returned if omitted.

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

-Type <String>

Filter the Power Delivery Device type. Allowed values:

* HPIpduCore
* HPIpduAcModule
* LoadSegment
* HPIpduOutletBar
* HPIpduOutlet.
Aliases None
Required? false
Position? 1
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

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

The matching power device resources

System.Collections.ArrayList <HPOneView.PowerDeliveryDevice>

The matching power device resources

Examples

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

$powerDevices = Get-HPOVPowerDevice

Return all the power devices managed by this appliance.

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

$powerDeviceA = Get-HPOVPowerDevice "iPDU_A"

Return the power device resource with name "iPDU_A".

Related Links


Top

HPE OneView 4.00 Library

Get-HPOVPowerDevice

Retrieve Power Device (iPDU) resource(s).

SYNTAX

Get-HPOVPowerDevice[ [-Name] <String>][ [-Type] <String>][ [-ApplianceConnection] <Object>] [<CommonParameters>]

Detailed Description

Obtain a collection of power device resources which have the specified name, and display the information about the power device.

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? false
Position? 2
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Name <String>

The name of the power device resource to be returned. All power device resources will be returned if omitted.

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

-Type <String>

Filter the Power Delivery Device type. Allowed values:

* HPIpduCore
* HPIpduAcModule
* LoadSegment
* HPIpduOutletBar
* HPIpduOutlet.
Aliases None
Required? false
Position? 1
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

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

The matching power device resources

System.Collections.ArrayList <HPOneView.PowerDeliveryDevice>

The matching power device resources

Examples

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

$powerDevices = Get-HPOVPowerDevice

Return all the power devices managed by this appliance.

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

$powerDeviceA = Get-HPOVPowerDevice "iPDU_A"

Return the power device resource with name "iPDU_A".

Related Links


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