Get-StoragePluginInfrastructureVolume

In this article

    Short Description

    Returns volumes of Universal Storage API integrated systems.

    Applies to

    Platform: VMware

    Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

    Syntax

    Get-StoragePluginInfrastructureVolume [-Name <string[]>] [-Host <CPublicPluginHost>]  [<CommonParameters>]

    Detailed Description

    This cmdlet returns an array of volumes of Universal Storage API integrated systems. The cmdlet will return storage volumes, even if they are not added to your backup infrastructure.

    Get-StoragePluginInfrastructureVolume Tip:

    You can use this cmdlet to specify storage volumes that you want to rescan or exclude from the storage rescan.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Name

    Specifies an array of volume names. The cmdlet will return volumes with these names.

    False

    Named

    False

     

    Host

    Specifies a storage. The cmdlet will return an array of volumes added to that storage.

    Accepts the CVnxHost type.

    False

    Named

    True ByValue,
    ByPropertyName

     

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

    Return Type

    Example 1

    This command returns all volumes added to Universal Storage API integrated systems.

    Get-StoragePluginInfrastructureVolume

    Example 2

    This command returns all volumes specific volumes added to Universal Storage API integrated systems. Use the Name parameter to specify a name of the volume.

    Get-StoragePluginInfrastructureVolume -Name "Volume4", "Volume5", "Volume1"

    Example 3

    This example shows how to get all volumes added to the specific Universal Storage API integrated systems.

    1. Run Get-StoragePluginHost to get the storage. Save the result to the $storage variable.
    2. Run Get-StoragePluginInfrastructureVolume with the $storage variable.

    $storage = Get-StoragePluginHost -Name "IBM Spectrum"

    Get-StoragePluginInfrastructureVolume -Name "VOLUME-01" -Host $storage

    Related Commands

    Get-StoragePluginHost