-
Notifications
You must be signed in to change notification settings - Fork 52
Add HPOVStoragePool
Add managed Storage Pools.
Add-HPOVStoragePool [-StorageSystem] <Object> [-Pool] <Array> [-ApplianceConnection] <Object> [<CommonParameters>]
Add new Storage Pools (i.e. HP 3PAR Common Provisioning Group [CPG]) for volumes to be provisioned from. The Storage System must be imported prior to adding Storage Pools.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Pool <Array>
Aliases: [PoolName, spName, CPG] An array containing the name(s) of the specific storage pool resource(s) to be added during storage system import.
Example: $pools = "cpg1","cpg2"
Aliases | PoolName, spName, cpg |
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-StorageSystem <Object>
Aliases: [Hostname, Name] The IP Address or FQDN of the supported storage system to import a new or additional Storage Pools.
Aliases | Hostname, name |
Required? | true |
Position? | 0 |
Default value | |
Accept pipeline input? | true (ByValue) |
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)
HPOneView.Storage.System [System.Management.Automation.PSCustomObject] Storage System resource object from Get-HPOVStorageSystem.
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject] Async task resource.
System.Collections.ArrayList <HPOneView.Appliance.TaskResource> Multiple async task resources.
Async Task(s) to monitor storage pool import.
-------------------------- EXAMPLE 1 --------------------------PS C:\> Add-HPOVStoragePool -StorageSystem "HP3PAR_1" -PoolName "HP_CPG1"
Add the "HP_CPG1" Stroage Pool that is mananaged in the HP3PAR_1 Storage System.
-------------------------- EXAMPLE 2 --------------------------PS C:\> Get-HPOVStorageSystem HP3PAR_1 | Add-HPOVStoragePool -PoolName "HP_CPG1"
Using pipline operation, add the "HP_CPG1" Stroage Pool that is mananaged in the HP3PAR_1 Storage System.
-------------------------- EXAMPLE 3 --------------------------PS C:\> $myPools = "cpg1","cpg2" PS C:\> Add-HPOVStoragePool "HP3PAR_1" $myPools
Add the "HP_CPG1" Stroage Pool that is mananaged in the HP3PAR_1 Storage System.
- [Get-HPOVStoragePool] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVStoragePool)
- [Remove-HPOVStoragePool] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Remove-HPOVStoragePool)
- [Add-HPOVStorageSystem] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Add-HPOVStorageSystem)
Add managed Storage Pools.
Add-HPOVStoragePool [-StorageSystem] <StorageSystem> [-poolName] <poolName> [<CommonParameters>]
Add new Storage Pools (i.e. HP 3PAR Common Provisioning Group [CPG]) for volumes to be provisioned from. The Storage System must be imported prior to adding Storage Pools.
-StorageSystem <StorageSystem>
Aliases | None. |
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | false |
-poolName <poolName>
Aliases: [Pool, spName, CPG] REQUIRED. An array containing the name(s) of the specific storage pool resource(s) to be added during storage system import.
Example: $pools = "cpg1","cpg2"
Aliases | None. |
Required? | true |
Position? | 2 |
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 System resource object from Get-HPOVStorageSystem.
System.Management.Automation.PSCustomObject Async task resource.
System.Array Multiple async task resources.
Async Task(s) to monitor storage pool import.
Async Task(s) to monitor storage pool import.
-------------------------- EXAMPLE 1 --------------------------PS C:\> Add-HPOVStoragePool -StorageSystem "HP3PAR_1" -PoolName "HP_CPG1"
Add the "HP_CPG1" Stroage Pool that is mananaged in the HP3PAR_1 Storage System. PoolName parameter data type will be converted from System.String to System.Array.
-------------------------- EXAMPLE 2 --------------------------PS C:\> $myPools = "cpg1","cpg2" PS C:\> Add-HPOVStoragePool "HP3PAR_1" $myPools
Add the "HP_CPG1" Stroage Pool that is mananaged in the HP3PAR_1 Storage System.
- [Get-HPOVStoragePool] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVStoragePool)
- [Remove-HPOVStoragePool] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Remove-HPOVStoragePool)
- [Add-HPOVStorageSystem] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Add-HPOVStorageSystem)