Get-ThinkSystemInfrastructureVolume

In this article

    Short Description

    Returns storage volumes of ThinkSystem storage systems.

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

    Syntax

    Get-ThinkSystemInfrastructureVolume [-Name <string[]>] [-Host <CNaHost>]  [<CommonParameters>]

    Detailed Description

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

    Get-ThinkSystemInfrastructureVolume Tip:

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

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept
    Pipeline
    Input

    Name

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

    String

    False

    Named

    False

    Host

    Specifies a storage system. The cmdlet will return volumes of this storage system.

    Accepts the CNaHost object. To create this object, run the Get-ThinkSystemHost cmdlet

    False

    Named

    True ByValue,
    ByPropertyName

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

    Examples

    Example 1. Getting All Storage Volumes

    This command returns volumes of all ThinkSystem storage systems.

    Get-ThinkSystemInfrastructureVolume

    Example 2. Getting Storage Volumes by Name

    This command returns ThinkSystem storage volumes by the volume name.

    Get-ThinkSystemInfrastructureVolume -Name "ISCSI Volume4", "ISCSI Volume5", "NFS Volume1"

    Example 3. Getting All Volumes of Specific Storage System

    This example shows how to get all volumes of the specified ThinkSystem storage system.

    $storage = Get-ThinkSystemHost -Name "ThinkSystem Store"

    Get-VInfrastructureVolume -Host $storage

    Perform the following steps:

    1. Run the Get-ThinkSystemHost cmdlet. Specify the Name parameter value. Save the result to the $storage variable.
    2. Run the Get-ThinkSystemInfrastructureVolume cmdlet. Set the $storage variable as the Host parameter value.

    Related Commands

    Get-ThinkSystemHost