Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Reset-DfsrCloneState

Reset-DfsrCloneState

dfsrpowershell.dll

Synopsis

Cancels a cloning operation.

Syntax

Reset-DfsrCloneState [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

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.

Parameters

-Force <SwitchParameter>

Forces the command to run without asking for user confirmation.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Confirm <SwitchParameter>

Prompts you for confirmation before running the cmdlet.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

-WhatIf <SwitchParameter>

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

[none]

Return Type

[none]

Notes

None

Examples

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

Online Version
Get-DfsrCloneState