Skip to content

Get-OVServerHardwareType

Syntax

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

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-OVServerProfile Cmdlet to retrieve the list of BIOS settings and adapters to configure.

Examples

Example 1

$sht = Get-OVServerHardwareType

Return all the server hardware types on the appliance.

Example 2

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

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

Parameters

-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

-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

-ApplianceConnection <Array>

Specify one or more [HPEOneView.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

-ExportFile <String>

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

Single Server Hardware type

Multiple Server Hardware types