Remove an InstantClone clone.
Remove-InstantCloneClone -CloneName <string> [-onlyData] [<CommonParameters>] |
This removes the clone database, backing-file and directory. The original snapshot is unaffacted. This should always be used to remove a clone - do not directly remove the cloned database in SQL Server.
-CloneName
<System.String>
The name of the clone you want to remove.
| Aliases | None |
| Required? | true |
| Position? | named |
| Default Value | None |
| Accept Pipeline Input | false |
| Accept Wildcard Characters | false |
-onlyData
<System.Management.Automation.SwitchParameter>
This removes the data, but not the SQL Server database. Use this switch if you've removed the SQL Server Database manually, and now need to remove the backing clone VHD and entry in the list of clones.
| Aliases | None |
| Required? | false |
| Position? | named |
| Default Value | False |
| Accept Pipeline Input | false |
| Accept Wildcard Characters | false |
<CommonParameters>This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see http://technet.microsoft.com/en-us/library/hh847884.aspx.
The input type is the type of the objects that you can pipe to the cmdlet.
The output type is the type of the objects that the cmdlet emits.