Get-DPMInitialOnlineBackupCreationMethod

Get-DPMInitialOnlineBackupCreationMethod

Gets the method of initial online backup for a protection group.

構文

Parameter Set: Default
Get-DPMInitialOnlineBackupCreationMethod [-ProtectionGroup] <ProtectionGroup> [ <CommonParameters>]

詳細説明

The Get-DPMInitialOnlineBackupCreationMethod cmdlet gets the method of initial online backup for a System Center 2012 R2 - Data Protection Manager (DPM) protection group.

パラメーター

-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)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.OMCommon.InitialOnlineBackupMethod

    This cmdlet generates an InitialOnlineBackupMethod object that contains the following properties:

    -- IBMethod. The method of initial online backup. Valid values are: Network and OfflineBackup.
    -- OfflineBackupParams. The offline backup parameter properties: StagingLocation, AzurePublishSettingsFile, AzureImportJobName, AzureSubscriptionID, AzureStorageAccount, and AzureStorageContainer.

Example 1: Get initial online backup method for a protection groupinitial online

The first command gets a protection group by using the Get-DPMProtectionGroup cmdlet. That cmdlet gets all protection groups, and passes them to the Where-Object cmdlet by using the pipeline operator. That cmdlet finds the desired group, and then stores that group in the $ProtectionGroup variable. For more information, type Get-Help Where-Object.

The second command gets the method of initial online backup for the protection group stored in $ProtectionGroup.

PS C:\> $ProtectionGroup = Get-DPMProtectionGroup | Where {$_.FriendlyName -like "MyPG"}
PS C:\> Get-DPMInitialOnlineBackupCreationMethod -ProtectionGroup $ProtectionGroup

関連トピック

Set-DPMInitialOnlineBackupCreationMethod

Get-DPMProtectionGroup