Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Get-NaIscsiInitiatorAuth


NAME
Get-NaIscsiInitiatorAuth

SYNOPSIS
Get the authentication info for an initiator.

SYNTAX
Get-NaIscsiInitiatorAuth [[-Initiator] <String>] [-Controller <NaController>
] [<CommonParameters>]


DESCRIPTION
Get the authentication info for an initiator. If auth type is CHAP, only th
e username is returned; the password is not returned for security purposes.
If no initiator is specified, all initiators in the authentication list are
returned.


PARAMETERS
-Initiator <String>
Name of initiator (i.e. iqn.1987-06.com.initvendor1:appsrv.sn.2346). If
initiator is not found, default authentication method is returned. If
not specified, all initiators are returned.

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



OUTPUTS
NetApp.Ontapi.Filer.Iscsi.IscsiSecurityEntryInfo


NOTES


Category: iscsi
API: iscsi-initiator-get-auth, iscsi-initiator-auth-list-info

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

C:\PS>Get-NaIscsiInitiatorAuth


Get the authentication info for all initiators in the authentication list.


AuthType Initiator OutboundUserName UserName
-------- --------- ---------------- --------
none iqn.1991-05.com....



RELATED LINKS
Add-NaIscsiInitiatorAuth
Remove-NaIscsiInitiatorAuth







 Data ONTAP® PowerShell Toolkit