Expand-Volume

Expands a powerstore volume.

SYNOPSIS

Expands a PowerStore volume.

SYNTAX

ByName (Default)

Expand-Volume [-Cluster] <Cluster> [-Name] <String> -NewSize <Int64> [-Confirm] [-WhatIf] [<CommonParameters>]

ById

Expand-Volume [-Cluster] <Cluster> -Id <String> -NewSize <Int64> [-Confirm] [-WhatIf] [<CommonParameters>]

DESCRIPTION

Expands the size of a PowerStore volume.

EXAMPLES

Example 1

PS C:\> Expand-Volume -Cluster $cluster -Name name1 -NewSize 1073741824

Where $cluster is a PowerStore cluster instance. Expands the size of the volume with name name1 to 1073741824 bytes.

Example 2

PS C:\> Expand-Volume -Cluster $cluster -Name name1 -NewSize 1gb

Where $cluster is a PowerStore cluster instance. Expands the size of the volume with name name1 to 1gb.

Example 3

PS C:\> Expand-Volume -Cluster $cluster -Id uuid1 -NewSize 2GB

Where $cluster is a PowerStore cluster instance. Expands the size of the volume with Id uuid1 to 2gb.

PARAMETERS

-Cluster

A PowerStore cluster instance.

Type: Cluster
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

Volume name.

Type: String
Parameter Sets: ByName
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Id

Volume Id.

Type: String
Parameter Sets: ById
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-NewSize

New size for the volume.

Type: Int64
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

OUTPUTS

Dell.PowerStore.Management.Model.Volume

NOTES