Get-DPMBackupWindow
Get-DPMBackupWindow
Gets the backup window settings for a protection group.
構文
Parameter Set: Default
Get-DPMBackupWindow [-ProtectionGroup] <ProtectionGroup> [ <CommonParameters>]
詳細説明
The Get-DPMBackupWindow cmdlet gets the backup window settings for a System Center 2012 – Data Protection Manager (DPM) protection group. For more information about backup windows, see the Set-DPMBackupWindow cmdlet.
パラメーター
-ProtectionGroup<ProtectionGroup>
Specifies a ProtectionGroup object. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Get backup window settings
The first command gets protection groups.. This command passes the results to the Where-Object cmdlet. That cmdlet drops all except ones that match the specified friendly name. For more information, type Get-Help Where-Object
. The command stores the protection group in the $ProtectionGroup variable.
The second command gets settings for the backup window of the protection group stored in $ProtectionGroup.
PS C:\> $ProtectionGroup = Get-DPMProtectionGroup | Where {$_.FriendlyName -like "*ContosoPG*"}
PS C:\> Get-DPMBackupWindow $ProtectionGroup