Remove HPOVStoragePool - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Remove-HPOVStoragePool

Delete storage pool resource(s).

SYNTAX

Remove-HPOVStoragePool [-InputObject] <Object>[ [-Force] <SwitchParameter>] [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Remove-HPOVStoragePool [-InputObject] <Object> [-StorageSystem] <Object>[ [-Force] <SwitchParameter>] [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

Delete one or more storage pools from the appliance configuration.

Parameters

-ApplianceConnection <Object>

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:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? named
Default value (${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>

If specified, the Storage Pool resource will forceablly removed despite any problems with network connectivity or errors with the resource.

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

-InputObject <Object>

Aliases [-name, -StoragePool] The network object(s) or name(s) to be removed on the appliance.

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

-StorageSystem <Object>

Aliases [-storage] Provide the Storage System Name, URI or Object when the StoragePool name is not unique.

Aliases storage
Required? true
Position? named
Default value
Accept pipeline input? false
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

HPOneView.Storage.System.Pool [System.Management.Automation.PSCustomObject]

Single Storage Pool resource, typically retrieved with Get-HPOVStoragePool

Return Values

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

Removal task

Examples

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

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

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

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

$pool = Get-HPOVStoragePool -name "yellow" Remove-HPOVStoragePool -storagePool $pool -confirm:$false

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

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

Get-HPOVStoragePool | Remove-HPOVStoragePool

Search for all storage pools and remove them from appliance.

Related Links


Top

HPE OneView 4.00 Library

Remove-HPOVStoragePool

Delete storage pool resource(s).

SYNTAX

Remove-HPOVStoragePool [-InputObject] <Object>[ [-Force] <SwitchParameter>] [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Remove-HPOVStoragePool [-InputObject] <Object> [-StorageSystem] <Object>[ [-Force] <SwitchParameter>] [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

Delete one or more storage pools from the appliance configuration.

Parameters

-ApplianceConnection <Object>

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:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? named
Default value (${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>

If specified, the Storage Pool resource will forceablly removed despite any problems with network connectivity or errors with the resource.

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

-InputObject <Object>

Aliases [-name, -StoragePool] The network object(s) or name(s) to be removed on the appliance.

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

-StorageSystem <Object>

Aliases [-storage] Provide the Storage System Name, URI or Object when the StoragePool name is not unique.

Aliases storage
Required? true
Position? named
Default value
Accept pipeline input? false
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

HPOneView.Storage.System.Pool [System.Management.Automation.PSCustomObject]

Single Storage Pool resource, typically retrieved with Get-HPOVStoragePool

Return Values

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

Removal task

Examples

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

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

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

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

$pool = Get-HPOVStoragePool -name "yellow" Remove-HPOVStoragePool -storagePool $pool -confirm:$false

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

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

Get-HPOVStoragePool | Remove-HPOVStoragePool

Search for all storage pools and remove them from appliance.

Related Links


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