Remove HPOVStorageVolumeTemplate - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Remove-HPOVStorageVolumeTemplate

Delete storage volume template(s) from appliance configuration.

SYNTAX

Remove-HPOVStorageVolumeTemplate [-InputObject] <Object> [-ApplianceConnection] <Array Array>[ [-Force] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

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

Parameters

-ApplianceConnection <Array Array>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

Default Value: ${Global:ConnectSessions} Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? False
Position? named
Default value (${Global:ConnectedSessions} | ? Default) (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Confirm <SwitchParameter>

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

-Force <SwitchParameter>

Specify to remove the resource despite any problems with network connectivity or errors on the resource itself.

When the request is accepted by the appliance, it does not return an Async Task Resource.

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

-InputObject <Object>

Aliases [-name, -uri, -TemplateName., -Template] The Storage Volume Template object(s), name(s) or URI(s) to be deleted.

Aliases uri, name, templateName, Template
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-WhatIf <SwitchParameter>

Aliases wi
Required? false
Position? named
Default value
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)

Input Types

System.Management.Automation.PSCustomObject

Storage Volume Template resource object

System.Collections.ArrayList

Multiple Storage Volume Template resources

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Removal async task

System.Management.Automation.PSCustomObject

When using the -Force parameter, a PSCustomObject is returned indicating successful removal of the resource

Examples

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

$task = Remove-HPOVStorageVolumeTemplate -storagePool "yellow" | Wait-HPOVTaskComplete

Remove the storage volume template specifed by name. Wait for remove to complete.

 -------------------------- EXAMPLE 2 --------------------------

$svt = Get-HPOVStorageVolumeTemplate -name "yellow" Remove-HPOVStorageVolumeTemplate -name $svt -confirm:$false

Remove the network specifed by $svt, and do not prompt for confirmation.

 -------------------------- EXAMPLE 3 --------------------------

Get-HPOVStoragVolumeTemplate | Remove-HPOVStorageVolumeTemplate

Search for all storage volume templates and remove them from appliance.

Related Links


Top

HPE OneView 4.00 Library

Remove-HPOVStorageVolumeTemplate

Delete storage volume template(s) from appliance configuration.

SYNTAX

Remove-HPOVStorageVolumeTemplate [-InputObject] <Object> [-ApplianceConnection] <Array Array>[ [-Force] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

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

Parameters

-ApplianceConnection <Array Array>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

Default Value: ${Global:ConnectSessions} Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true False
Position? named
Default value (${Global:ConnectedSessions} | ? Default) (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Confirm <SwitchParameter>

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

-Force <SwitchParameter>

Specify to remove the resource despite any problems with network connectivity or errors on the resource itself.

When the request is accepted by the appliance, it does not return an Async Task Resource.

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

-InputObject <Object>

Aliases [-name, -uri, -TemplateName., -Template] The Storage Volume Template object(s), name(s) or URI(s) to be deleted.

Aliases uri, name, templateName, Template
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-WhatIf <SwitchParameter>

Aliases wi
Required? false
Position? named
Default value
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)

Input Types

System.Management.Automation.PSCustomObject

Storage Volume Template resource object

System.Collections.ArrayList

Multiple Storage Volume Template resources

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Removal async task

System.Management.Automation.PSCustomObject

When using the -Force parameter, a PSCustomObject is returned indicating successful removal of the resource

Examples

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

$task = Remove-HPOVStorageVolumeTemplate -storagePool "yellow" | Wait-HPOVTaskComplete

Remove the storage volume template specifed by name. Wait for remove to complete.

 -------------------------- EXAMPLE 2 --------------------------

$svt = Get-HPOVStorageVolumeTemplate -name "yellow" Remove-HPOVStorageVolumeTemplate -name $svt -confirm:$false

Remove the network specifed by $svt, and do not prompt for confirmation.

 -------------------------- EXAMPLE 3 --------------------------

Get-HPOVStoragVolumeTemplate | Remove-HPOVStorageVolumeTemplate

Search for all storage volume templates and remove them from appliance.

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️