|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaAggr
NAME
Get-NaAggr
SYNOPSIS
Gets the aggregates for the current controller.
SYNTAX
Get-NaAggr [[-Names] <String[]>] [-Controller <NaController>] [<CommonParame
ters>]
DESCRIPTION
The Get-NaAggr cmdlet retrieves one or more aggregates from a Data ONTAP con
troller. Wildcards are supported for the aggregate name.
PARAMETERS
-Names <String[]>
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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
System.String
OUTPUTS
DataONTAP.Types.Aggr.AggrInfo
NOTES
Category: aggr
API: aggr-list-info
-------------- All aggregates --------------
C:\PS>Get-NaAggr
Retrieves all aggregates from the current controller.
-------------- A specific aggregate --------------
C:\PS>Get-NaAggr aggr1
Retrieves the aggregate named 'aggr1'.
-------------- Wildcards --------------
C:\PS>Get-NaAggr aggr1*
Retrieves all aggregates whose names begin with 'aggr1'.
RELATED LINKS
New-NaAggr
Remove-NaAggr
Connect-NaController
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|