NAME

Remove-HPOVStorageVolume

SYNOPSIS

Remove a Storage Volume

SYNTAX

Remove-HPOVStorageVolume [-storageVolume] <Object> [-exportOnly] [<CommonParameters>]

DESCRIPTION

This cmdlet will remove storage volumes from the HP OneView appliance. Volumes must first be removed from attached Server Profiles prior to deleting the Storage Volume.

PARAMETERS

-storageVolume <Object>

Aliases [-Name, -URI]

Storage Volume Name, URI or Object.

Aliases -Name, -URI
Required? true
Position? 1
Default value <none>
Accept pipeline input? true (ByValue)
Accept wildcard characters?    false
-exportOnly [<SwitchParameter>]

Specify whether to delete the export reference or export and provisioning volume.

Default: Delete Export AND Volume from stroage system.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

System.String

Storage Volume Name or URI

System.Management.Automation.PSCustomObject

Storage Volume resource object

OUTPUTS

System.Management.Automation.PSCustomObject

Async removal task

RELATED LINKS

EXAMPLES

-------------------------- EXAMPLE 1 -------------------------- 

PS C:\> Remove-HPOVStorageVolume TestVol1

Remove export and delete volume named 'TestVol1'.

Last edited Aug 19, 2014 at 11:38 PM by chrislynchhp, version 2