Set-Volume

SYNOPSIS

Changes or removes the volume identifier of a PowerMax volume.

SYNTAX

Set (Default)

Set-Volume [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-Id] <String> -Identifier <String> [-Confirm] [-Force] [-WhatIf] [<CommonParameters>]

Unset

Set-Volume [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-Id] <String> [-UnsetIdentifier] [-Confirm] [-Force] [-WhatIf] [<CommonParameters>]

DESCRIPTION

Changes or removes the volume identifier of a PowerMax volume.

EXAMPLES

Example 1

PS C:\> Set-Volume $unisphere -ArrayId 000123456789 -VolumeId 0031B -Identifier ANewIdentifier

Where $unisphere is a Unisphere server instance. Changes the volume identifier of volume 0031B to ANewIdentifier.

Example 2

PS C:\> Set-Volume $unisphere -ArrayId 000123456789 -VolumeId 0031B -UnsetIdentifier

Where $unisphere is a Unisphere server instance. Removes the volume identifier from volume 0031B.

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

-Identifier

The new identifier.

Type: String
Parameter Sets: Set
Aliases:

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

-UnsetIdentifier

Switch to unset identifier.

Type: SwitchParameter
Parameter Sets: Unset
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 changing 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.

INPUTS

Dell.PowerMax.Management.Model.UnisphereServer

System.String

OUTPUTS

Dell.PowerMax.Management.Model.Volume

NOTES