Data ONTAP® PowerShell Toolkit

Cmdlet: Get-NaAggrOption


NAME
Get-NaAggrOption

SYNOPSIS
Get the options that have been set for the specified aggregate.

SYNTAX
Get-NaAggrOption [-Name] <String> [-Controller <NaController>] [-WarningActi
on <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]


DESCRIPTION
Get the options that have been set for the specified aggregate.


PARAMETERS
-Name <String>
Name of the aggregate whose options we want.

Required? true
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



OUTPUTS
NetApp.Ontapi.Filer.Aggr.AggrOptionInfo


NOTES


Category: aggr
API: aggr-options-list-info

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

C:\PS>Get-NaAggrOption aggr1


Get all options for aggregate 'aggr1'.


Name Value
---- -----
fs_size_fixed off
ignore_inconsistent off
no_i2p off
no_delete_log off
nosnap off
schedsnapname ordinal
raidsize 16
raidtype raid_dp
resyncsnaptime 60
root false
snapmirrored off
upgraded_replica false
snapshot_autodelete on
lost_write_protect on


-------------- Example 2 --------------

C:\PS>Get-NaAggr aggr1 | Get-NaAggrOption | ? {$_.name -eq "raidtype"}


Get raid type option for aggr1.


Name Value
---- -----
raidtype raid_dp



RELATED LINKS
Set-NaAggrOption







 Data ONTAP® PowerShell Toolkit