Reputation: 45115
Why am I still being prompted even after using -Confirm
and -Force
?
PSVersion 5.0.10586.117
Upvotes: 1
Views: 305
Reputation: 58921
According to the -Confirm documention,
Prompts you for confirmation before running the cmdlet.
So you should omit the switch and just use -Force
instead.
Upvotes: 2