NAME

Set-DcsPoolCapacityOptimizationProperties

SYNOPSIS

Will either enable or disable the Capacity Optimization feature for the indicated Disk Pool.

SYNTAX

Set-DcsPoolCapacityOptimizationProperties [-Server <String>] –Pool<Object> -CapacityOptimizationEnabled<Boolean> [-Connection <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]

DESCRIPTION

Enabling the Capacity Optimization feature on a Disk Pool will allow the Disk Pool to provide Inline Compression and / or Inline Deduplication to Virtual Disks that are associated with this Disk Pool.

PARAMETERS

-Server<String>
The Id of the server on which the Disk Pool is located.


Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false
 
-Pool<Object>
The Id of the Disk Pool on which the Capacity Optimization feature will be either enabled or disabled.

Required: true
Position: named
Default value:
Accept pipeline input: true (ByValue)
Accept wildcard characters: false

-CapacityOptimizationEnabled <Boolean>
A boolean indicating of the feature is to be enabled on the corresponding Disk Pool. $True will enable the feature, $False will disable the feature.

Required: true
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-Connection<String>
Alias of the connection to the server group. If not specified, the default connection will be used.


Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false
 
-InformationAction <ActionPreference>


Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false
 
-InformationVariable <String>


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 (https:/go.microsoft.com/fwlink/?LinkID=113216)

INPUTS

DiskPoolData : Object that identifies the pool.

OUTPUTS

DiskPoolData : Object that identifies the pool.

NOTES

Also see Get-DcsPool.

EXAMPLES


-------------- Example 1 Enable capacity optimization for the disk pool --------------
Set-DcsPoolCapacityOptimizationProperties -Pool "Disk pool 1" - CapacityOptimizationEnabled $true

Demonstrates enabling the Capacity Optimization feature on the disk pool "Disk pool 1".

PoolMode:ReadWrite
ServerId:39A178A9-E133-4574-BA23-D65426ADD5D2
SharedPoolId:
Alias:Disk pool 1
Description:
PresenceStatus:Present
PoolStatus:Running
Type:Dynamic
ChunkSize:1 GiB
MaxTiernumber:3
TierReservedPct:0
AutoTieringEnabled:True
IsAuthorized:True
InSharedMode:False
SMPAApproved:False
SupportsEncryption:True
HasEncryption:False
DeduplicationState:Enabled
Sequencenumber:54497
Id:39A178A9-E133-4574-BA23-D65426ADD5D2:{872659c2-b210-11e d-afc6-00155d480ed5}
Caption:Disk Pool 1
ExtendedCaption:Disk pool 1 on SSVVM011
Internal:False