-
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 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? | 2 |
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 Storage System object, or Name.
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 --------------------------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.Collections.ArrayList .
-------------------------- EXAMPLE 2 --------------------------$myPools = "cpg1","cpg2" Add-HPOVStoragePool "HP3PAR_1" $myPools
Add the "HP_CPG1" Stroage Pool that is mananaged in the HP3PAR_1 Storage System.
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 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? | 2 |
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 Storage System object, or Name.
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 --------------------------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.Collections.ArrayList .
-------------------------- EXAMPLE 2 --------------------------$myPools = "cpg1","cpg2" Add-HPOVStoragePool "HP3PAR_1" $myPools
Add the "HP_CPG1" Stroage Pool that is mananaged in the HP3PAR_1 Storage System.