|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Remove-NaIgroup
NAME
Remove-NaIgroup
SYNOPSIS
Destroys an existing initiator group.
SYNTAX
Remove-NaIgroup [-Name] <String> [-Force] [-Controller <NaController>] [-War
ningAction <ActionPreference>] [-WarningVariable <String>] [-WhatIf] [-Confi
rm] [<CommonParameters>]
DESCRIPTION
Destroys an existing initiator group. By default a group cannot be destroyed
if there are existing lun maps defined for that group. This behaviour can b
e overridden with the use of force option set to "true" which will destroy t
he initiator group and any associated lun maps.
PARAMETERS
-Name <String>
Name of initiator group.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Force
Forcibly destroy the initiator group, even if there are existing lun map
s. Best practice is to attempt to unmap all the luns associated with a
group before destroying it.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningAction <ActionPreference>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningVariable <String>
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
<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: igroup
API: igroup-destroy
-------------- Example 1 --------------
C:\PS>Remove-NaIgroup igroup4
Destroy igroup 'igroup4'.
RELATED LINKS
New-NaIgroup
Get-NaIgroup
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|