Get HPOVAvailableDriveType - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Get-HPOVAvailableDriveType

Return a collection of available D3940 disks.

SYNTAX

Get-HPOVAvailableDriveType [-InputObject] <Object>[ [-ApplianceConnection] <Object>] [<CommonParameters>]

Detailed Description

This helper CMDLET will return a collection of available disk drives from a specified SAS Logical Interconnect or Drive Enclosure. The object can then be used to define the drive selection criteria for New-HPOVServerProfileLogicalDisk using the -AvailableDriveType parameter.

Parameters

-ApplianceConnection <Object>

Aliases [-appliance] The name of the appliance or list of appliances to execute the command against.

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

-InputObject <Object>

A SAS Logical Interconnect or D3940 Drive Enclosure resource. If providing a SAS Logical Interconnect, the Cmdlet will automatically locate the available drive enclosures.

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

HPOneView.Storage.SASLogicalInterconnect

A SAS Logical Interconnect resource from Get-HPOVSasLogicalInterconnect Cmdlet.

HPOneView.Storage.DiskEnclosure

A D3940 Drive Enclosure from Get-HPOVSasLogicalInterconnect Cmdlet.

Return Values

HPOneView.Storage.AvailableDriveType

A disk type object that defines available quantity of drives based on interface, media type and capacity, organized by SAS Logical Interconnect.

Examples

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

Get-HPOVSasLogicalInterconnect | Get-HPOVAvailableDriveType

Return all available disk drives from all SAS Logical Interconnects.

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

Get-HPOVSasLogicalInterconnect -Name "LE1-Default SAS Synergy LIG-3" -ErrorAction Stop | Get-HPOVAvailableDriveType

Return all available disk drives from the specific SAS Logical Interconnect.

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

Get-HPOVDriveEnclosure -Name "EnclosureName, Bay 1" -ErrorAction Stop | Get-HPOVAvailableDriveType

Return all available disk drives from the specific D3940 Drive Enclosure.

Related Links


Top

HPE OneView 4.00 Library

Get-HPOVAvailableDriveType

Return a collection of available D3940 disks.

SYNTAX

Get-HPOVAvailableDriveType [-InputObject] <Object>[ [-ApplianceConnection] <Object>] [<CommonParameters>]

Detailed Description

This helper CMDLET will return a collection of available disk drives from a specified SAS Logical Interconnect or Drive Enclosure. The object can then be used to define the drive selection criteria for New-HPOVServerProfileLogicalDisk using the -AvailableDriveType parameter.

Parameters

-ApplianceConnection <Object>

Aliases [-appliance] The name of the appliance or list of appliances to execute the command against.

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

-InputObject <Object>

A SAS Logical Interconnect or D3940 Drive Enclosure resource. If providing a SAS Logical Interconnect, the Cmdlet will automatically locate the available drive enclosures.

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

HPOneView.Storage.SASLogicalInterconnect

A SAS Logical Interconnect resource from Get-HPOVSasLogicalInterconnect Cmdlet.

HPOneView.Storage.DiskEnclosure

A D3940 Drive Enclosure from Get-HPOVSasLogicalInterconnect Cmdlet.

Return Values

HPOneView.Storage.AvailableDriveType

A disk type object that defines available quantity of drives based on interface, media type and capacity, organized by SAS Logical Interconnect.

Examples

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

Get-HPOVSasLogicalInterconnect | Get-HPOVAvailableDriveType

Return all available disk drives from all SAS Logical Interconnects.

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

Get-HPOVSasLogicalInterconnect -Name 'LE1-Default SAS Synergy LIG-3' -ErrorAction Stop | Get-HPOVAvailableDriveType

Return all available disk drives from the specific SAS Logical Interconnect.

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

Get-HPOVDriveEnclosure -Name 'EnclosureName, Bay 1' -ErrorAction Stop | Get-HPOVAvailableDriveType

Return all available disk drives from the specific D3940 Drive Enclosure.

Related Links


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