Reset-DfsrCloneState
Reset-DfsrCloneState
Cancels a cloning operation.
Sintassi
Parameter Set: Default
Reset-DfsrCloneState [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]
Descrizione dettagliata
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.
Parametri
-Force
Forza l'esecuzione del comando senza chiedere conferma all'utente.
Alias |
nessuno |
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
nessuno |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-Confirm
Richiede conferma prima di eseguire il cmdlet.
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
False |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-WhatIf
Mostra gli effetti dell'esecuzione del cmdlet. Il cmdlet non viene eseguito.
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
False |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
<CommonParameters>
Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Input
Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.
- [none]
Output
Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.
- [none]
Esempi
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