Get HPOVEnclosureGroup - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Get-HPOVEnclosureGroup

Retrieve Enclosure Group resource(s).

SYNTAX

Get-HPOVEnclosureGroup[ [-Name] <String>][ [-ApplianceConnection] <Array>][ [-exportFile] <String>] [<CommonParameters>]

Detailed Description

Obtain a collection of Enclosure Group resources, or a single Enclosure Group with the specified name.

Parameters

-ApplianceConnection <Array>

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

-Name <String>

The name of the Enclosure Group resource to be returned. All enclosure group resources will be returned if omitted.

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

-exportFile <String>

Aliases [-x, -export] Full path and file name to save the output of Get-HPOVEnclosureGroup

Aliases x, export
Required? false
Position? 2
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.EnclosureGroup [System.Management.Automation.PSCustomObject]

Single Enclosure Group

System.Collections.ArrayList

The matching enclosure group resources.

Examples

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

$enclosures = Get-HPOVEnclosureGroup

Return all the enclosure groups managed by this appliance.

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

$enclosure = Get-HPOVEnclosureGroup "A"

Return the enclosure group resource with name "A".

Related Links


Top

HPE OneView 4.00 Library

Get-HPOVEnclosureGroup

Retrieve Enclosure Group resource(s).

SYNTAX

Get-HPOVEnclosureGroup[ [-Name] <String>][ [-ApplianceConnection] <Array>][ [-exportFile] <String>] [<CommonParameters>]

Detailed Description

Obtain a collection of Enclosure Group resources, or a single Enclosure Group with the specified name.

Parameters

-ApplianceConnection <Array>

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

-Name <String>

The name of the Enclosure Group resource to be returned. All enclosure group resources will be returned if omitted.

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

-exportFile <String>

Aliases [-x, -export] Full path and file name to save the output of Get-HPOVEnclosureGroup

Aliases x, export
Required? false
Position? 2
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.EnclosureGroup [System.Management.Automation.PSCustomObject]

Single Enclosure Group

System.Collections.ArrayList

The matching enclosure group resources.

Examples

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

$enclosures = Get-HPOVEnclosureGroup

Return all the enclosure groups managed by this appliance.

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

$enclosure = Get-HPOVEnclosureGroup "A"

Return the enclosure group resource with name "A".

Related Links


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