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?
SEE THE SOLUTION
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,
I was missing the colon, I will test tonight. Thanks!
You can also use the ConfirmPreference setting: