Reset-DfsrCloneState

Reset-DfsrCloneState

Cancels a cloning operation.

Sintaxis

Parameter Set: Default
Reset-DfsrCloneState [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Descripción detallada

The Reset-DfsrCloneState cmdlet cancels an ongoing DFS Replication database cloning operation and resets the volume's database to the previous state.

When you cancel an export, the DFS Replication service restores the backup database copy that it created at the start of the process. When you cancel an import, the DFS Replication service deletes the new database copy. When you run the cmdlet, the cmdlet sends the reset and waits for the DFS Replication service to complete. Use the Get-DfsrState cmdlet to determine the current reset status.

Parámetros

-Force

Fuerza que el comando se ejecute sin pedir confirmación al usuario.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Confirm

Solicita confirmación antes de ejecutar el cmdlet.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-WhatIf

Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

  • [none]

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • [none]

Ejemplos

Example 1: Cancel a cloning operation

This command cancels the ongoing DFS Replication cloning operation and resets the volume's database to the previous state.

PS C:\> Reset-DfsrCloneState

Temas relacionados

Get-DfsrCloneState