dbaclone icon indicating copy to clipboard operation
dbaclone copied to clipboard

Remove-DcnClone ConfirmImpact

Open tcartwright opened this issue 3 years ago • 1 comments

The ConfirmImpact for the Remove-DcnClone is hard coded to High. Leaving the user no choice but to confirm every action. This keeps this from being using in automation. Was this a testing artifact left in?

https://github.com/dataplat/dbaclone/blob/1bf77597166f86a7ce741984d40fab8f54b73e5c/functions/clone/Remove-DcnClone.ps1#L87

tcartwright avatar Feb 21 '23 15:02 tcartwright

Just pass -Confirm:$False to the command to override the prompt.

RiverHeart avatar Apr 14 '23 16:04 RiverHeart