Get-DPMRecoverableItem
Get-DPMRecoverableItem
Gets a list of recoverable items in a recovery point.
構文
Parameter Set: Browse
Get-DPMRecoverableItem [-RecoverableItem] <RecoverableObject> [-BrowseType] <DbEnums+BrowseType> {Child | Parent} [-Async] [-Tag <Object> ] [ <CommonParameters>]
Parameter Set: Search
Get-DPMRecoverableItem [-Datasource] <Datasource> [-SearchOption] <SearchSpecifications> [-Async] [-Tag <Object> ] [ <CommonParameters>]
Parameter Set: Shares
Get-DPMRecoverableItem -RecoveryPointForShares <RecoverySource> [-Async] [-Tag <Object> ] [ <CommonParameters>]
詳細説明
The Get-DPMRecoverableItem cmdlet gets a list of recoverable items in a recovery point. The recoverable items based on source are:
-- File system: Files and folders
-- Microsoft Exchange: Storage groups, databases and mailboxes
-- Microsoft SQL: Databases
-- Microsoft SharePoint: Sites, databases and documents
-- Virtual Machines
-- A DPM server
-- System state of a protected computer
パラメーター
-Async
Indicates that the command runs asynchronously. When you run a command asynchronously, the command prompt returns immediately even if the job takes an extended time to finish.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-BrowseType<DbEnums+BrowseType>
Specifies whether to browse only the parent nodes in a recovery point, or to browse the parent nodes and the child nodes. The acceptable values for this parameter are:
-- Parent
-- Child
エイリアス |
none |
必須? |
true |
位置は? |
2 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Datasource<Datasource>
Specifies an array of data source objects. Data source objects include the following:
-- Windows file system share or volume.
-- Microsoft SQL Server database.
-- Microsoft Exchange storage group.
-- Microsoft SharePoint farm.
-- Microsoft Virtual Machine.
-- DPM database.
-- A system state that is a member of a protection group.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
true (ByValue) |
ワイルドカード文字を許可する |
false |
-RecoverableItem<RecoverableObject>
Specifies a recoverable item object. This is child item within a recovery point that is recoverable. For example, a Windows file system share or volume, a Microsoft SQL database, a Microsoft Exchange storage group, Microsoft SharePoint, Microsoft Virtual Machine, a Microsoft DPM database, system state or a recovery point.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
true (ByValue) |
ワイルドカード文字を許可する |
false |
-RecoveryPointForShares<RecoverySource>
Specifies a recovery point object. To obtain a recovery point object, use the Get-DPMRecoveryPoint cmdlet.
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
true (ByValue) |
ワイルドカード文字を許可する |
false |
-SearchOption<SearchSpecifications>
Specifies the search options. You can use the New-DPMSearchOption cmdlet to create an object that specifies search options for recoverable objects.
エイリアス |
none |
必須? |
true |
位置は? |
2 |
既定値 |
none |
パイプライン入力を許可する |
true (ByValue) |
ワイルドカード文字を許可する |
false |
-Tag<Object>
Specifies a custom property that distinguishes the replies to each asynchronous call.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- RecoverableItem
注
- For more information, type "
Get-Help Get-DPMRecoverableItem -detailed
".
例
Example 1: Get a recoverable item in a recovery point
This example gets a list of recoverable items in the parent and child nodes of a recovery point.
The first command gets the protection group on the DPM server named DPMServer02 and stores the results in the $Pg variable.
The second command gets the list of protected and unprotected data in the protection group stored in the $Pg variable. The command stores the result in the $Ds variable.
The third command gets the recovery point for the protection group stored in the $Ds variable, and stores the result in the $Rp variable.
The fourth command gets the recoverable items in the parent and child nodes of the recovery point stored in $Rp.
PS C:\> $Pg = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> $Ds = Get-DPMDatasource -ProtectionGroup $Pg
PS C:\> $Rp = Get-DPMRecoveryPoint -Datasource $Ds
PS C:\> Get-DPMRecoverableItem -RecoverableItem $Rp -BrowseType child