Skip to content
New issue

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

Remove-DcnClone ConfirmImpact #224

Open
tcartwright opened this issue Feb 21, 2023 · 1 comment
Open

Remove-DcnClone ConfirmImpact #224

tcartwright opened this issue Feb 21, 2023 · 1 comment

Comments

@tcartwright
Copy link

tcartwright commented Feb 21, 2023

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?

[CmdLetBinding(DefaultParameterSetName = "HostName", SupportsShouldProcess = $true, ConfirmImpact = 'High')]

@RiverHeart
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants