Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Problem using Powershell to delete QTrees without prompting for confirmation
2012-05-03
12:07 PM
5,741 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Solved! See The Solution
1 ACCEPTED SOLUTION
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this: Remove-NaQtree -Force /vol/vol2/XXX -Confirm:$false
3 REPLIES 3
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this: Remove-NaQtree -Force /vol/vol2/XXX -Confirm:$false
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Clinton,
Thank you soooo much!! That worked perfectly!!
Thanks again!
Walter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Clinton,
Thank you soooo much!! That worked perfectly!!
Have a great day!
Thanks again!
Walter
