Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Get-NaOption


NAME
Get-NaOption

SYNOPSIS
Get the value of one or more options.

SYNTAX
Get-NaOption [[-OptionNames] <String[]>] [-Hashtable] [-Controller <NaContro
ller>] [<CommonParameters>]


DESCRIPTION
Get the value of one or more options.


PARAMETERS
-OptionNames <String[]>
The names of one or more options to get. Wildcards are supported.

Required? false
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
NetApp.Ontapi.Filer.Options.OptionInfo


NOTES


Category: options
API: options-get, options-list-info

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

C:\PS>Get-NaOption


Get all options.


ClusterConstraint Name Value
----------------- ---- -----
only_one auditlog.enable on
only_one auditlog.max_file_size 10000000
only_one auditlog.readonly_api.e... off
only_one autologout.console.enable on
only_one autologout.console.timeout 60
only_one autologout.telnet.enable on
only_one autologout.telnet.timeout 60
none autosupport.cifs.verbose off
...


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

C:\PS>Get-NaOption kerberos.* ldap.*


Get multiple option categories using wildcards.


ClusterConstraint Name Value
----------------- ---- -----
none kerberos.file_keytab.en... off
none kerberos.file_keytab.pr...
none kerberos.file_keytab.realm
none kerberos.replay_cache.e... off
none ldap.ADdomain
none ldap.base
none ldap.base.group
none ldap.base.netgroup
none ldap.base.passwd
none ldap.enable off
none ldap.minimum_bind_level anonymous
none ldap.name
none ldap.nssmap.attribute.g... gecos
none ldap.nssmap.attribute.g... gidNumber
none ldap.nssmap.attribute.g... cn
none ldap.nssmap.attribute.h... homeDirectory
none ldap.nssmap.attribute.l... loginShell
none ldap.nssmap.attribute.m... memberNisNetgroup
none ldap.nssmap.attribute.m... memberUid
none ldap.nssmap.attribute.n... cn
none ldap.nssmap.attribute.n... nisNetgroupTriple
none ldap.nssmap.attribute.uid uid
none ldap.nssmap.attribute.u... uidNumber
none ldap.nssmap.attribute.u... userPassword
none ldap.nssmap.objectClass... nisNetgroup
none ldap.nssmap.objectClass... posixAccount
none ldap.nssmap.objectClass... posixGroup
none ldap.passwd ******
none ldap.port 389
none ldap.servers
none ldap.servers.preferred
none ldap.ssl.enable off
none ldap.timeout 20
none ldap.usermap.attribute.... unixaccount
none ldap.usermap.attribute.... windowsaccount
none ldap.usermap.base
none ldap.usermap.enable off



RELATED LINKS
Set-NaOption
Compare-NaOption







 Data ONTAP® PowerShell Toolkit