NAME

Remove-HPOVStorageVolumeTemplate

SYNOPSIS

Delete storage volume template(s) from appliance configuration.

SYNTAX

Remove-HPOVStorageVolumeTemplate [-templateName] <Object> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Delete one or more storage volume templates from the appliance configuration.

PARAMETERS

-templateName <Object>

Alias [-name, -uri]

The Storage Volume Template object(s), name(s) or URI(s) to be deleted.

Aliases -Name, -URI
Required? true
Position? 1
Default value <none>
Accept pipeline input? true (ByValue)
Accept wildcard characters?    false
-WhatIf [<SwitchParameter>]
Aliases None
Required? false
Position? named
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-Confirm [<SwitchParameter>]
Aliases None
Required? false
Position? named
Default value <none>
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 Template resource object

System.Array

Multiple Storage Volume Template resources

OUTPUTS

System.Management.Automation.PSCustomObject

Removal async task

RELATED LINKS

EXAMPLES

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

PS C:\> $task = Remove-HPOVStorageVolumeTemplate -storagePool "yellow"
PS C:\> Wait-HPOVTaskComplete $task.uri
  
Remove the storage volume template specifed by name. Wait for remove to complete.
-------------------------- EXAMPLE 2 -------------------------- 

PS C:\> $svt = Get-HPOVStorageVolumeTemplate -name "yellow"
PS C:\> REMOVE-HPOVStorageVolumeTemplate -name $svt -confirm:$false
  
Remove the network specifed by $svt, and do not prompt for confirmation.
-------------------------- EXAMPLE 3 -------------------------- 

PS C:\> Get-HPOVStoragVolumeTemplate | Remove-HPOVStorageVolumeTemplate
   
Search for all storage volume templates and remove them from appliance.

Last edited Aug 19, 2014 at 10:43 PM by chrislynchhp, version 2