Get HPOVStorageVolume - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Get-HPOVStorageVolume

Retrieve Storage Volume resource(s).

SYNTAX

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

Detailed 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.

Parameters

-ApplianceConnection <Array>

Aliases [-Appliance]

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

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? false
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
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

-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

-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

-Name <String>

Aliases [-VolumeName] 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

-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
* HPOneView.Appliance.ScopeCollection
* HPOneView.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

System.Collections.ArrayList <HPOneView.Storage.Volume>

Multiple storage volume resources

HPOneView.Storage.Volume [System.Management.Automation.PSCustomObject]

Formatted table view of storage volume resources

Examples

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

Get-HPOVStorageVolume

Return all storage volume resource objects.

Related Links


Top

HPE OneView 4.00 Library

Get-HPOVStorageVolume

Retrieve Storage Volume resource(s).

SYNTAX

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

Detailed 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.

Parameters

-ApplianceConnection <Array>

Aliases [-Appliance]

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

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? false
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
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

-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

-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

-Name <String>

Aliases [-VolumeName] 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

-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
* HPOneView.Appliance.ScopeCollection
* HPOneView.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

System.Collections.ArrayList <HPOneView.Storage.Volume>

Multiple storage volume resources

HPOneView.Storage.Volume [System.Management.Automation.PSCustomObject]

Formatted table view of storage volume resources

Examples

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

Get-HPOVStorageVolume

Return all storage volume resource objects.

Related Links


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