Subscribe
Accepted Solution

Problem using Powershell to delete QTrees without prompting for confirmation

Hello, I am trying to use PowerShell to remove hundreds of qtrees, but it keeps prompting me to confirm for each qtree.  I am using "Remove-NaQtree -Force /vol/vol2/XXX".  I have tried using the "-Confirm", but cannot find much info on that switch, even in the full man page.

Any ideas would be greatly appreciated.

Thank you!

Re: Problem using Powershell to delete QTrees without prompting for confirmation

Try this:  Remove-NaQtree -Force /vol/vol2/XXX -Confirm:$false

Re: Problem using Powershell to delete QTrees without prompting for confirmation

Hello Clinton,

Thank you soooo much!!  That worked perfectly!!

Thanks again!

Walter

Re: Problem using Powershell to delete QTrees without prompting for confirmation

Hello Clinton,

Thank you soooo much!! That worked perfectly!!

Have a great day!

Thanks again!

Walter