Start-DPMDatasourceConsistencyCheck
Start-DPMDatasourceConsistencyCheck
Performs a consistency check on a DPM data source.
構文
Parameter Set: Datasource
Start-DPMDatasourceConsistencyCheck [-Datasource] <Datasource> [[-AdhocJobsContext] <AdhocJobsContext> ] [-ForcedFullCC] [-HeavyWeight] [-JobStateChangedEventHandler <JobStateChangedEventHandler> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: ProtectionGroup
Start-DPMDatasourceConsistencyCheck [-ProtectionGroup] <ProtectionGroup> [[-AdhocJobsContext] <AdhocJobsContext> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Start-DPMDatasourceConsistencyCheck cmdlet performs a consistency check on a System Center 2012 – Data Protection Manager (DPM) data source. You can run consistency checks on a specific data source or on all data sources in a protection group that are in an inconsistent state.
パラメーター
-AdhocJobsContext<AdhocJobsContext>
Specifies the context details of the ad hoc job. Do not use this parameter from the Windows PowerShell command line.
エイリアス |
none |
必須? |
false |
位置は? |
2 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Datasource<Datasource>
Specifies a data source object. A data source may be a file system share or volume for Windows, Microsoft SQL Server database, Microsoft Exchange storage group, Microsoft SharePoint farm, Microsoft virtual machine, DPM database, or system state that is a member of a protection group.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-ForcedFullCC
Indicates that the cmdlet performs a heavyweight consistency check on all databases in the farm, not just on the databases in an inconsistent state. This option is specific to SharePoint.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-HeavyWeight
Indicates that the cmdlet performs a heavyweight consistency check. A heavyweight consistency check checksums the contents of each file. This parameter affects only file servers; the cmdlet always performs heavyweight consistency checks on application servers.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-JobStateChangedEventHandler<JobStateChangedEventHandler>
Indicates that the cmdlet displays the status of the to the user. Use the JobStateChangedEventHandler parameter along with the Async parameterto build a graphical user interface (GUI) by using cmdlets. Do not use it when you work with the DPM Management Shell.
エイリアス |
Handler |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-ProtectionGroup<ProtectionGroup>
Specifies a protection group object.
エイリアス |
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)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Start a consistency check on a data source
This example starts a consistency check on a data source.
The first command gets the protection groups from the server named TestingServer and stores them in the variable named $Pg.
The second command gets the data source for the first protection group (stored in position 0) in $Pg and stores the data source in the variable named $Ds.
The third command runs a consistency check on the data source that is stored in $Ds.
PS C:\> $Pg = Get-ProtectionGroup –DPMServerName TestingServerPS C:\> $Ds = Get-Datasource $Pg[0]PS C:\> Start-DPMDatasourceConsistencyCheck -Datasource $Ds