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>] [-WarningActio
n <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]


DESCRIPTION
The Get-NaAggr cmdlet retrieves one or more aggregates from a DataONTAP cont
roller. 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 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

<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
NetApp.Ontapi.Filer.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







 Data ONTAP® PowerShell Toolkit