|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Remove-NaLun
NAME
Remove-NaLun
SYNOPSIS
Destroy the specified LUN.
SYNTAX
Remove-NaLun [-Path] <String> [-Force] [-Controller <NaController>] [<Common
Parameters>]
DESCRIPTION
Destroy the specified LUN. This operation will fail if the LUN is currently
mapped and is online. The force option can be used to destroy it regardles
s of being online or mapped.
PARAMETERS
-Path <String>
Path of the LUN.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Force
Forcibly destroy the LUN regardless of it being online or mapped.
Required? false
Position? named
Default value
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
<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: lun
API: lun-destroy
-------------- Example 1 --------------
C:\PS>Remove-NaLun /vol/vol2/lun101
Destroy LUN 'lun101'.
RELATED LINKS
Get-NaLun
Set-NaLun
New-NaLun
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|