|
|
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> [-Hashtable] [-Controller <NaController>]
[<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
-Hashtable
Required? false
Position? named
Default value
Accept pipeline input? false
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
OUTPUTS
DataONTAP.Types.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
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|