Skip to main content
SnapCenter 4.8 cmdlets

Remove-SmCloneJob

Contributors

Removes an existing clone job.

Syntax

Remove-SmCloneJob [-CloneJobName]  <String>

Detailed Description

Removes an existing clone job based on the name of the clone job provided.

Parameters

Name Description Required? Pipeline Input Default Value

CloneJobName

true

true (ByPropertyName)

Examples

- Example 1: Remove a clone job by clone job name -

 Remove-SmCloneJob -CloneJobName cl2

This example syntax removes a clone job based on the name of the clone job provided.

Remove-SmCloneJob
Are you sure you want to perform this action?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
No clones associated with 'cl2' Resource Group.
Deleted Protection Group 'cl2' successfully.
Deleted clone policy 'cl2_ClonePolicy' successfully.

- Example 2: Removes a clone job by clone job name without a confirmation dialogue. -

 Remove-SmCloneJob -CloneJobName cl2 -Confirm:$false

This example syntax removes a clone job based on the name of the clone job provided.