-
Notifications
You must be signed in to change notification settings - Fork 52
Set HPOVStoragePool
Modify storage pool managed state.
Set-HPOVStoragePool [-InputObject] <HPOneView.Storage.StoragePool[]> [-Managed] <bool>[ [-ApplianceConnection] <Array>] [<CommonParameters>]
A storage pool is an aggregation of physical storage resources (disks) in a storage system. Storage systems contain information about the storage ports through which they can be accessed. You can provision logical storage spaces, known as volumes, from storage pools. You cannot create or delete storage pools from the appliance, you can only add or remove them from management. Using this Cmdlet will change the managed state of a storage pool. Its management state cannot be changed when volumes are currently provisioned from it and managed by HPE OneView, or a storage volume template specify the storage pool. If you remove a storage system from the appliance, all storage pools in it are removed automatically. Minimum required privileges: Infrastructure administrator or Storage administrator.
-ApplianceConnection <Array>
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) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-InputObject <HPOneView.Storage.StoragePool[]>
One or more HPOneView.Storage.StoragePool resources from Get-HPOVStoragePool.
Aliases | Pool |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-Managed <bool>
Specify a boolean value to modify the storage pools managed state.
Aliases | None |
Required? | true |
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)
HPOneView.Storage.StoragePool
Storage pool resource(s) from Get-HPOVStoragePool.
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Asyncronous task resource to monitor.
-------------------------- EXAMPLE 1 --------------------------$StoragePool = Get-HPOVStoragePool -Name "r5_cpg1" -ErrorAction Stop Set-HPOVStoragePool -InputObject $StoragePool -Managed $true
Manage the specified storage pool to provision volumes.
-------------------------- EXAMPLE 1 --------------------------Get-HPOVStoragePool -Name r5_* -ErrorAction Stop | Set-HPOVStoragePool -Managed $false
Change the managed state to "unmanaged" of the specified storage pools.