Subscribe
Accepted Solution

Remove-NAVol Confirm Switch

When using the  remove-navol I always get a confirmation pop-up, even if I do not use the '-confirm'.  Is there a way around this?

Re: Remove-NAVol Confirm Switch

From an earlier post:

You can simply append -Confirm:$false to your Remove-NaVol command like so;

Set-NaVol $VOL -offline | Remove-NaVol -Confirm:$False

At your service,

Eugene Kashpureff

Re: Remove-NAVol Confirm Switch

I was missing the colon, I will test tonight.  Thanks!

Re: Remove-NAVol Confirm Switch

You can also use the ConfirmPreference setting:

http://communities.netapp.com/thread/9358