We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The documentation shows this as an example:
New-DcnClone -SqlInstance SQLDB1 -ParentVhd C:\Temp\images\DB1_20180623203204.vhdx -Destination C:\Temp\clones\ -CloneName DB1_Clone1
However, this doesn't do anything. The reason for this is because the script loops over databases:
foreach ($db in $Database) {
However, setting a database parameter throws an error
New-DcnClone : Parameter set cannot be resolved using the specified named parameters.
It never invokes the function due to the parameter set.
I assume if providing a ParentVHD, you don't want to provide a list of databases since you're just pulling a single image
The text was updated successfully, but these errors were encountered:
Fix for dataplat#176 - If supplied a Parent VHD, we look up the datab…
5c564cd
…ase for it. Additionally, add a new parameter to generate a clone for an image ID, in case that is already known
Successfully merging a pull request may close this issue.
The documentation shows this as an example:
New-DcnClone -SqlInstance SQLDB1 -ParentVhd C:\Temp\images\DB1_20180623203204.vhdx -Destination C:\Temp\clones\ -CloneName DB1_Clone1
However, this doesn't do anything. The reason for this is because the script loops over databases:
foreach ($db in $Database) {
However, setting a database parameter throws an error
New-DcnClone : Parameter set cannot be resolved using the specified named parameters.
It never invokes the function due to the parameter set.
I assume if providing a ParentVHD, you don't want to provide a list of databases since you're just pulling a single image
The text was updated successfully, but these errors were encountered: