Start-DedupJob

Start-DedupJob

Starts a data deduplication job.

Syntaxe

Parameter Set: Start0
Start-DedupJob [-Type] <Type> {Optimization | GarbageCollection | Scrubbing | Unoptimization} [[-Volume] <String[]> ] [-CimSession <CimSession[]> ] [-Cores <System.UInt32> ] [-Full] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [-InputOutputThrottle <System.UInt32> ] [-InputOutputThrottleLevel <InputOutputThrottleLevel> {None | Low | Medium | High | Maximum} ] [-Memory <UInt32> ] [-Preempt] [-Priority <Priority> {Low | Normal | High} ] [-ReadOnly] [-StopWhenSystemBusy] [-ThrottleLimit <Int32> ] [-Timestamp <DateTime> ] [-Wait] [ <CommonParameters>] [ <WorkflowParameters>]

Description détaillée

The Start-DedupJob starts a new data deduplication job for one or more volumes. The data deduplication job can queue if the server is running another job on the same volume or if the computer does not have sufficient resources to run the job. The server marks the queued jobs that you start with this cmdlet as manual jobs and gives the manual jobs priority over scheduled jobs. The server returns a DeduplicationJob object for each job that you start with this cmdlet.

For multi-volume data deduplication jobs, you can use the Preempt parameter to move a job to the top of the job queue and cancel the current job.

Paramètres

-CimSession<CimSession[]>

Exécute l'applet de commande dans une session distante ou sur un ordinateur distant. Entrez un nom d'ordinateur ou un objet de session, tels que le résultat d'une applet de commande New-CimSession ou Get-CimSession. La valeur par défaut est la session en cours sur l'ordinateur local.

Alias

Session

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Cores<System.UInt32>

Specifies the maximum percentage of physical cores that a job uses.

Alias

MaximumCoresPercentage

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

true(ByPropertyName)

Accepter les caractères génériques ?

false

-Full

Indicates that garbage collection jobs free up all deleted or unreferenced data on the volume, if you specify the value GarbageCollection for the Type parameter. If you do not specify this parameter, garbage collection jobs free up space after a system threshold of delete data is exceeded. We recommend that you run garbage collection regularly without specifying this parameter, and then once a month specify this parameter and run garbage collection again.

If you specify the value Scrubbing for the Type parameter, this parameter indicates that scrubbing jobs validate the integrity of all data on the volume. If you do not specify this parameter, the scrubbing job validates only critical metadata and data integrity issues that data deduplication previously encountered. We recommend that you run scrubbing regularly without specifying this parameter, and then once a month specify this parameter and run scrubbing again.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-InformationAction<System.Management.Automation.ActionPreference>

Alias

infa

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-InformationVariable<System.String>

Alias

iv

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-InputOutputThrottle<System.UInt32>

Specifies the amount of input/output throttling applied to the deduplication job. Throttling ensures that deduplication does not interfere with other I/O intensive processes. Les valeurs acceptables pour ce paramètre sont les suivantes :  integers from 0 to 100. If you specify this parameter and the InputOutputThrottleLevel parameter, InputOutputThrottle takes precedence.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

true(ByPropertyName)

Accepter les caractères génériques ?

false

-InputOutputThrottleLevel<InputOutputThrottleLevel>

Specifies the amount of I/O throttling that the job provides to ensure that the job does not interfere with other I/O intensive processes. Les valeurs acceptables pour ce paramètre sont les suivantes : 

-- None
-- Low
-- Medium
-- High

If you specify this parameter and the InputOutputThrottle parameter, InputOutputThrottle takes precedence.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

false

-Memory<UInt32>

Specifies the maximum percentage of physical computer memory that the data deduplication job can use.

For optimization jobs, we recommend that you set a range from 15 to 50, and a higher memory consumption for jobs that you schedule to run when you specify the StopWhenSystemBusy parameter. For garbage collection and scrubbing jobs, which you typically schedule to run in off hours, you can set a higher memory consumption, such as 50.

Alias

MaximumMemoryPercentage

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

false

-Preempt

Indicates that the deduplication engine moves the job to the top of the job queue and cancels the current job. After the server cancels the current job, the deduplication engine cannot run the preempting job if the server does not have enough memory to run the job.

This parameter applies to manual data deduplication jobs only and is ignored for scheduled jobs. You can preempt only deduplication jobs on multiple volumes.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Priority<Priority>

Sets the CPU and I/O priority for the optimization job run that you run by using this cmdlet. For jobs that you run when you specify the StopWhenSystemBusy parameter, we recommend that you set this parameter to Low. For typical optimization jobs, we recommend that you set this parameter to Normal.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

false

-ReadOnly

Indicates that the scrubbing job process and report on corruptions that it finds but does not run any repair actions.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-StopWhenSystemBusy

Indicates that the server stops the job when the system is busy and retries later. We recommend that you specify this parameter when you set a low priority for the job.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

false

-ThrottleLimit<Int32>

Spécifie le nombre maximal d'opérations simultanées qui peuvent être établies pour exécuter l'applet de commande. Si ce paramètre est omis ou si la valeur 0 est entrée, Windows PowerShell® calcule un seuil de limitation optimal pour l'applet de commande en fonction du nombre d'applets de commande CIM exécutées sur l'ordinateur. Le seuil de limitation s'applique uniquement à l'applet de commande en cours, non pas à la session ou à l'ordinateur.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Timestamp<DateTime>

Specifies a date and time. This parameter applies only to unoptimization jobs. The deduplication engine unoptimizes only files that it optimized or reoptimized since the DateTime value that you specify.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Type<Type>

Specifies the type of data deduplication job. Les valeurs acceptables pour ce paramètre sont les suivantes : 
-- Optimization
-- GarbageCollection
-- Scrubbing
-- Unoptimization

Alias

none

Requis ?

true

Position ?

1

Valeur par défaut

none

Accepter l'entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

false

-Volume<String[]>

Specifies an array of system volumes for which you want to manually queue data deduplication jobs. Enter one or more volume IDs, drive letters, or volume GUID paths. For drive letters, use the format D:. For volume GUID paths, use the format \\?\Volume{{GUID}}\. Separate multiple volumes with a comma.

Alias

Path,Name,DeviceId

Requis ?

false

Position ?

2

Valeur par défaut

none

Accepter l'entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

false

-Wait

Indicates that the cmdlet waits for the job to complete and provides progress information to the client.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d'informations, consultez  . about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

<WorkflowParameters>

Entrées

Le type d'entrée correspond au type des objets que vous pouvez adresser à l'applet de commande.

  • System.Management.Automation.SwitchParameter
  • System.String[]
  • System.UInt32
  • Microsoft.PowerShell.Cmdletization.GeneratedTypes.DedupJob.Priority
  • Microsoft.PowerShell.Cmdletization.GeneratedTypes.DedupJob.Type

Sorties

Le type de sortie correspond au type des objets que l'applet de commande émet.

  • Microsoft.Management.Infrastructure.CimInstance#

    L'objet Microsoft.Management.Infrastructure.CimInstance est une classe de wrapper qui affiche les objets WMI (Windows Management Instrumentation). Le chemin après le symbole # fournit l'espace de noms et le nom de classe de l'objet WMI sous-jacent.

Exemples

Example 1: Start an optimization job

This command starts a deduplication optimization job on drive D: and consume up to a maximum of 50 percent of RAM.

PS C:\> Start-DedupJob -Volume "D:" -Type Optimization –Memory 50

Rubriques connexes

Get-DedupJob

Stop-DedupJob