Subscribe

Get-NcQtree

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?