Set-DPMPerformanceOptimization
Set-DPMPerformanceOptimization
Enables or disables on-the-wire compression for a DPM protection group.
構文
Parameter Set: DisableCompression
Set-DPMPerformanceOptimization [-ProtectionGroup] <ProtectionGroup> -DisableCompression [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: EnableCompression
Set-DPMPerformanceOptimization [-ProtectionGroup] <ProtectionGroup> -EnableCompression [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Set-DPMPerformanceOptimization cmdlet enables or disables on-the-wire compression of data for a System Center 2012 – Data Protection Manager (DPM) protection group. You can use the Get-DPMProtectionGroup cmdlet to get a protection group, and use the Get-DPMModifiableProtectionGroup cmdlet to allow changes for a protection group.
On-the-wire compression decreases the amount of data transferred during replica creation, synchronization, and consistency check operations. On-the-wire compression increases CPU usage on both the DPM server and on protected computers.
パラメーター
-DisableCompression
Indicates that the cmdlet disables on-the-wire compression of data.
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-EnableCompression
Indicates that the cmdlet enables on-the-wire compression of data.
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-PassThru
Indicates that the cmdlet generates output. By default, this cmdlet does not generate output. You can use the PassThru parameter in order to use the cmdlet in a pipeline.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-ProtectionGroup<ProtectionGroup>
Specifies a protection group object. To obtain a protection group object, use the Get-DPMProtectionGroup cmdlet.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
true (ByValue) |
ワイルドカード文字を許可する |
false |
-Confirm
コマンドレットを実行する前に、ユーザーに確認を求めます。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-WhatIf
コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- ProtectionGroup
注
- For more information, type "
Get-Help Set-DPMPerformanceOptimization -detailed
".
例
Example 1: Enable compression for a protection group
This example enables on-the-wire compression of data for all data sources protected in the specified protection group. The first command uses the Get-DPMProtectionGroup cmdlet to get the protection group for the DPM server named DPMServer07, and stores that object in the $DPMPG variable.
The second command uses the Get-DPMModifiableProtectionGroup cmdlet to get the protection group stored in the $DPMPG variable in an editable format, and stores that object in the $DPMMPG variable.
The third command enables compression for the protection group stored in the $DPMMPG variable.
PS C:\> $DPMPG=Get-DPMProtectionGroup -DPMServerName "DPMServer07"
PS C:\> $DPMMPG = Get-DPMModifiableProtectionGroup -ProtectionGroup $DPMPG
PS C:\> Set-DPMPerformanceOptimization -ProtectionGroup $DPMMPG -EnableCompression