Remove-OVStoragePool
Syntax
Remove-OVStoragePool
[-InputObject] <Object>
[-Force]
[-ApplianceConnection] <Object>
[<CommonParameters>]
Remove-OVStoragePool
[-InputObject] <Object>
[-StorageSystem] <Object>
[-Force]
[-ApplianceConnection] <Object>
[<CommonParameters>]
Description
Delete one or more storage pools from the appliance configuration.
Examples
Example 1
Remove the storage pool specifed by name. Wait for remove to complete.
Example 2
Remove the network specifed by $pool, and do not prompt for confirmation.
Example 3
Search for all storage pools and remove them from appliance.
Parameters
-InputObject <Object>
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>
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 |
-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 |
-ApplianceConnection <Object>
Specify one or more [HPEOneView.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.
| Aliases | Appliance |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | (${Global:ConnectedSessions} | ? Default) |
| Accept pipeline input? | true (ByPropertyName) |
| Accept wildcard characters? | False |
-WhatIf <SwitchParameter>
| Aliases | wi |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-Confirm <SwitchParameter>
| Aliases | cf |
|---|---|
| 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
Single Storage Pool resource, typically retrieved with Get-OVStoragePool
Return Values
Removal task