Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enables setting or removing of on-wire compression of data.
Set-PerformanceOptimization [-ProtectionGroup] <ProtectionGroup> -EnableCompression [-PassThru <SwitchParameter>] [<CommonParameters>]
Set-PerformanceOptimization [-ProtectionGroup] <ProtectionGroup> -DisableCompression [-PassThru <SwitchParameter>] [<CommonParameters>]
The Set-PerformanceOptimization cmdlet enables setting or removing on-wire compression on a protection group.
The name of a protection group.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
true (ByValue) |
Position? |
0 |
Indicates that on-wire compression of data must be disabled.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
Indicates that throttling must be enabled.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
The -PassThru parameter can be used with many commands in DPM to return a related object in cases where there is no default output. Using the PassThru parameter allows such cmdlets to be part of a pipeline.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. For more information, see about_CommonParameters.
The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.
For more information, type "Get-Help Set-PerformanceOptimization -detailed".
For technical information, type "Get-Help Set-PerformanceOptimization -full".Additionally, any updated information about the cmdlet will be available at https://go.microsoft.com/fwlink/?LinkId=95130.
$pg = Get-ProtectionGroup -DPMServerName TestingServer
$mpg = Get-ModifiableProtectionGroup -ProtectionGroup $pg
Set-PerformanceOptimization -ProtectionGroup $mpg -EnableCompression
This command enables on-wire compression of data for all datasources being protected in the given PG