Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Remove-NcAggr


NAME
Remove-NcAggr

SYNOPSIS
Destroys the specified aggregate.

SYNTAX
Remove-NcAggr [-Name] <String> [-Controller <NcController[]>] [-WhatIf] [-Co
nfirm] [<CommonParameters>]


DESCRIPTION
Destroys the specified aggregate. The disks in the destroyed object become
spare disks. Only offline aggregates can be destroyed.

Note: Offline aggregates will be destroyed even if they contain one or more
flexible volumes, which should not typically be the case.


PARAMETERS
-Name <String>
Name of the existing aggregate to be destroyed.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Controller <NcController[]>
A Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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: aggr
API: aggr-destroy
Family: cluster

-------------- Example 1 --------------

C:\PS>Remove-NcAggr aggr3


Destroy aggregate 'aggr3'.






RELATED LINKS
Get-NcAggr







 Data ONTAP® PowerShell Toolkit