Expand-Volume
SYNOPSIS
Expands a volume.
SYNTAX
Expand-Volume [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-Id] <String> -NewSize <Int64>
[-Unit {CYL | MB | GB | TB}] [-RDFGroup <Int64>] [-Confirm] [-Force] [-WhatIf] [<CommonParameters>]
DESCRIPTION
Expands a volume. If the RDF group is specified then the remote volume is also expanded. The updated volume instance is returned.
EXAMPLES
Example 1
PS C:\> Expand-Volume $unisphere 000123456789 00123 -NewSize 5 -Unit GB
Where $unisphere is a Unisphere server instance. Expands the volume 00123 to 5GB.
Example 2
PS C:\> Expand-Volume $unisphere 000123456789 00123 -NewSize 6 -Unit GB -RDFGroup 22
Where $unisphere is a Unisphere server instance. Expands the volume 00123 to 6GB and also expands the volume in RDF group 22.
PARAMETERS
-Unisphere
The Unisphere server object.
Type: UnisphereServer
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-ArrayId
The PowerMax array ID.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-Id
The volume ID.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-NewSize
The new size of the volume. If -Unit is not specified then the size is interpreted as bytes and will be rounded down to the nearest MB.
Type: Int64
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Unit
The size unit. If not specified then the value of the -Size parameter is assumed to be in bytes.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: CYL, MB, GB, TB
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RDFGroup
The RDF group number of the remote volume to resize.
Type: Int64
Parameter Sets: (All)
Aliases:
Required: False
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
-Force
Skips confirmation before expanding the volume.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
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.