Get-OVAvailableDriveType
Syntax
Get-OVAvailableDriveType
[-InputObject] <Object>
[-ApplianceConnection <Object>]
[<CommonParameters>]
Description
This helper Cmdlet will return a collection of available disk drives from a specified SAS Logical Interconnect or Drive Enclosure. The returned value will contain available quantity of drives based on interface, media type and capacity, organized by SAS Logical Interconnect. The object can then be used to define the drive selection criteria for New-OVServerProfileLogicalDisk using the -AvailableDriveType parameter.
Info
Minimum required privileges: Read only
Examples
Example 1
Return all available disk drives from all SAS Logical Interconnects.
Example 2
Get-OVSasLogicalInterconnect -Name "LE1-Default SAS Synergy LIG-3" -ErrorAction Stop | Get-OVAvailableDriveType
Return all available disk drives from the specific SAS Logical Interconnect.
Example 3
Return all available disk drives from the specific D3940 Drive Enclosure.
Parameters
-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 |
-ApplianceConnection <Object>
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 |
<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
A SAS Logical Interconnect resource from Get-OVSasLogicalInterconnect Cmdlet.
A D3940 Drive Enclosure from Get-OVSasLogicalInterconnect Cmdlet.
Return Values
A disk type object that defines available quantity of drives based on interface, media type and capacity, organized by SAS Logical Interconnect.