Skip to content

Get-OVStorageVolume

Syntax

Get-OVStorageVolume
    [-Name <String>]
    [-StorageVolumeTemplate <Object>]
    [-Available]
    [-Label <String>]
    [-Scope <Object>]
    [-ApplianceConnection <Array>]
    [<CommonParameters>]
Get-OVStorageVolume
    [-InputObject <Object>]
    [-ApplianceConnection <Array>]
    [<CommonParameters>]

Description

This Cmdlet will display all or a specific storage volume(s) created on the HPE OneView appliance. A specific storage volume can be searched for by using the Name. Use the List switch to display a report of the requested volume(s), including any assignments to Server Profiles.

Examples

Example 1

Get-OVStorageVolume

Return all storage volume resource objects.

Parameters

-InputObject <Object>

Provide a Server Profile object and all associated Storage Volumes will be returned.

Aliases ServerProfile, ServerProfileTemplate
Required? False
Position? Named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-Name <String>

Specify the name of the Storage Volume to display.

Aliases VolumeName
Required? False
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

-Available <SwitchParameter>

Use to display Storage Volumes that are available for attachment.

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

-Label <String>

Specify the label associated with resources.

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

-ApplianceConnection <Array>

Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s).

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

-Scope <Object>

Filter resources based on provided Scope membership. By default, all resources for the accounts Active Permissions will be displayed. Allowed values:

  • AllResources
  • AllResourcesInScope
  • [HPEOneView.Appliance.ScopeCollection]
  • [HPEOneView.Appliance.ConnectionPermission]
Aliases None
Required? False
Position? Named
Default value AllResourcesInScope
Accept pipeline input? false
Accept wildcard characters? False

-StorageVolumeTemplate <Object>

Return a list of provisioned Storage Volumes by their associated Storage Volume Template.

Aliases SVT
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

Multiple storage volume resources

Formatted table view of storage volume resources