Microsoft Virtualization Discussions
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,
View solution in original post
I was missing the colon, I will test tonight. Thanks!
You can also use the ConfirmPreference setting:
Join our Discord Community