|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Remove-NaQtree
NAME
Remove-NaQtree
SYNOPSIS
Delete the specified qtree.
SYNTAX
Remove-NaQtree [-Path] <String> [-Force] [-Controller <NaController>] [-What
If] [-Confirm] [<CommonParameters>]
Remove-NaQtree [-QtreeInfo] <QtreeInfo> [-Force] [-Controller <NaController>
] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Delete the specified qtree.
PARAMETERS
-Path <String>
Path of an existing qtree. The path should be in this format: /vol/<volu
me>/<qtree>.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Force
Force the deletion of the qtree even if it not empty. On using "Force" o
ption, ZAPI may take a long time to complete because the contents of the
entire qtree will have to be deleted before it returns.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-QtreeInfo <QtreeInfo>
Alternate parameter set allows for a qtree to be passed in via the pipel
ine for deletion.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
NOTES
Category: qtree
API: qtree-delete
-------------- Example 1 --------------
C:\PS>Remove-NaQtree /vol/vol2/testq
Remove qtree 'testq' from volume 'vol2'.
-------------- Example 2 --------------
C:\PS>Get-NaQtree /vol/vol2/testq | Remove-NaQtree
Remove qtree 'testq' from volume 'vol2'.
RELATED LINKS
New-NaQtree
Get-NaQtree
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|