NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

Get-NcQtree

mciminello
2,624 Views

Hello,

 

I'm having diffifulty removing/deleting Qtrees with the Powershell Toolkit.  I'm using the DataONTAP v3.3.0 toolkit and OnTap NetApp Release 8.3.2.  The following command returns an error stating You cannot delete qtree "". and if I try and use wildcards or "where-object" statements I get the same error:

 

Remove-NcQtree -Vserver $prodsvm -Volume $volume -Force -Confirm:$false ($ statements are obviously being declaired above).

 

This does work on an individual basis if I specify the full path (ex. /vol/volname/qtreename).  Does anyone have any ideas on how to delete all qtrees for a volume whether they're populated or not?

0 REPLIES 0
Public