Get HPOVServerHardwareType - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Get-HPOVServerHardwareType

Retrieve Server Hardware Type resource(s).

SYNTAX

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

Detailed Description

Obtain a collection of server hardware types. This includes information about the type of server, adapter layout and features, and possible server BIOS settings. This cmdlet is also used with the New-HPOVServerProfile cmdlet to retrieve the list of BIOS settings and adapters to configure.

Parameters

-ApplianceConnection <Array>

Aliases [-Appliance]

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

Default Value: ${Global:ConnectSessions}

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

-Model <String>

Filter based on Model name. Supports wildcard search.

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

-Name <String>

The name of the server hardware type resource to be returned. All server hardware type resources will be returned if omitted.

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

-exportFile <String>

Aliases [-x, -export]

The path where the resource will be exported to, in JSON text format.

Aliases x, export
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

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

Single Server Hardware type

System.Collections.ArrayList

Multiple Server Hardware types

Examples

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

$sht = Get-HPOVServerHardwareType

Return all the server hardware types on the appliance.

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

$shtBL460Gen81 = Get-HPOVServerHardwareType -name "BL460 Gen8 1"

Return the "BL460 Gen8 1" server hardware type on the appliance.

Related Links


Top

HPE OneView 4.00 Library

Get-HPOVServerHardwareType

Retrieve Server Hardware Type resource(s).

SYNTAX

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

Detailed Description

Obtain a collection of server hardware types. This includes information about the type of server, adapter layout and features, and possible server BIOS settings. This cmdlet is also used with the New-HPOVServerProfile cmdlet to retrieve the list of BIOS settings and adapters to configure.

Parameters

-ApplianceConnection <Array>

Aliases [-Appliance]

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

Default Value: ${Global:ConnectSessions}

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

-Model <String>

Filter based on Model name. Supports wildcard search.

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

-Name <String>

The name of the server hardware type resource to be returned. All server hardware type resources will be returned if omitted.

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

-exportFile <String>

Aliases [-x, -export]

The path where the resource will be exported to, in JSON text format.

Aliases x, export
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

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

Single Server Hardware type

System.Collections.ArrayList

Multiple Server Hardware types

Examples

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

$sht = Get-HPOVServerHardwareType

Return all the server hardware types on the appliance.

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

$shtBL460Gen81 = Get-HPOVServerHardwareType -name "BL460 Gen8 1"

Return the "BL460 Gen8 1" server hardware type on the appliance.

Related Links


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