Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Reset-DfsrCloneState

Brian Lich|Last Updated: 3/26/2017

SYNOPSIS

Cancels a cloning operation.

SYNTAX

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

DESCRIPTION

The Reset-DfsrCloneState cmdlet cancels an ongoing Distributed File System (DFS) Replication database cloning operation and resets the database of the volume 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.

EXAMPLES

Example 1: Cancel a cloning operation

PS C:\> Reset-DfsrCloneState

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

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Force

Forces the command to run without asking for user confirmation.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

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

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

None

NOTES

Get-DfsrCloneState

© 2017 Microsoft