-
Notifications
You must be signed in to change notification settings - Fork 52
Remove HPOVStorageVolumeTemplate
Delete storage volume template(s) from appliance configuration.
Remove-HPOVStorageVolumeTemplate [-InputObject] <Object> [-ApplianceConnection] <Array Array>[ [-Force] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Delete one or more storage volume templates from the appliance configuration.
-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)
System.Management.Automation.PSCustomObject
Storage Volume Template resource object
System.Collections.ArrayList
Multiple Storage Volume Template resources
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
-------------------------- 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.
- Get-HPOVStorageVolumeTemplate
- Get-HPOVStorageVolumeTemplatePolicy
- New-HPOVStorageVolumeTemplate
- Set-HPOVStorageVolumeTemplate
- Set-HPOVStorageVolumeTemplatePolicy
Delete storage volume template(s) from appliance configuration.
Remove-HPOVStorageVolumeTemplate [-InputObject] <Object> [-ApplianceConnection] <Array Array>[ [-Force] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Delete one or more storage volume templates from the appliance configuration.
-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)
System.Management.Automation.PSCustomObject
Storage Volume Template resource object
System.Collections.ArrayList
Multiple Storage Volume Template resources
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
-------------------------- 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.
- Get-HPOVStorageVolumeTemplate
- Get-HPOVStorageVolumeTemplatePolicy
- New-HPOVStorageVolumeTemplate
- Set-HPOVStorageVolumeTemplate
- Set-HPOVStorageVolumeTemplatePolicy