Set-DPMMaintenanceJobStartTime
Set-DPMMaintenanceJobStartTime
Sets the start time of a maintenance job or stops such a job from running.
構文
Parameter Set: Reset
Set-DPMMaintenanceJobStartTime [[-DPMServerName] <String> ] [-MaintenanceJob] <HouseKeepingJobs> {CatalogPruning | LibraryInventory} [[-StartTime] <DateTime> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: Remove
Set-DPMMaintenanceJobStartTime [[-DPMServerName] <String> ] [-MaintenanceJob] <HouseKeepingJobs> {CatalogPruning | LibraryInventory} [-Remove] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Set-DPMMaintenanceJobStartTime cmdlet sets the start time of a maintenance job or stops such a job if it is running in System Center 2012 – Data Protection Manager (DPM).
You can reschedule Catalog Pruning and Detailed Inventory jobs by using this cmdlet.
パラメーター
-DPMServerName<String>
Specifies the name of a DPM server.
エイリアス |
none |
必須? |
false |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-MaintenanceJob<HouseKeepingJobs>
Specifies the maintenance job that the cmdlet performs on the replica. このパラメーターに対して使用できる値:
-- CatalogPruning. Removes index entries for expired tapes.
-- DetailedInventory. Identifies new tapes and recognizes tapes DPM has seen before by reading the on-media identifier (OMID) on each tape.
エイリアス |
none |
必須? |
true |
位置は? |
2 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Remove
Indicates that the cmdlet stops the job that is currently running.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-StartTime<DateTime>
Specifies the time when the operation begins as a DateTime object.
エイリアス |
none |
必須? |
false |
位置は? |
3 |
既定値 |
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)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
注
- For more information, type "
Get-Help Set-DPMMaintenanceJobStartTime -detailed
".
例
Example 1: Set the start time for a job
This command schedules the CatalogPruning maintenance job to run on the DPM server named DPMServer07 at 2 a.m.
PS C:\> Set-DPMMaintenanceJobStartTime -DPMServerName "DPMServer07" -MaintenanceJob CatalogPruning -StartTime 02:00
Example 2: Stop a running job
This command stops the LibraryInventory job from running on the DPM server named DPMServer07.
PS C:\> Set-DPMMaintenanceJobStartTime -DPMServerName "DPMServer07" -MaintenanceJob LibraryInventory -Remove