|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcCredential
NAME
Get-NcCredential
SYNOPSIS
List entries in the credentials cache.
SYNTAX
Get-NcCredential [[-Controller] <NcController>] [-SystemScope [<Boolean>]] [
<CommonParameters>]
Get-NcCredential [-Name] <String> [-SystemScope [<Boolean>]] [<CommonParamet
ers>]
DESCRIPTION
List entries in the credentials cache. Only entries that are usable by the
current user are listed. This may include credentials that were saved with
user or system scope.
PARAMETERS
-Controller <NcController>
An NcController object, as returned by Connect-NcController. If neither
this parameter nor -Name is specified, this cmdlet will return all entr
ies visible to the current user.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-SystemScope [<Boolean>]
Specify true to get credentials with system-wide scope, false for user-s
pecific credentials, or null for all credentials.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
The name or address of a storage controller. If a host name is specifie
d, it must be resolvable to an address. Wildcards are supported. If ne
ither this parameter nor -Name is specified, this cmdlet will return all
entries visible to the current user.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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.C.PowerShell.SDK.Cmdlets.Toolkit.Credentials.NcCredential
NOTES
Category: toolkit
-------------- Example 1 --------------
C:\PS>Get-NcCredential
List all credentials in the cache.
Name Credential HostUser
---- ---------- --------
dunn System.Management.Automation.PSCredential RTPRRE\Adm
inistrator
10.61.167.228 System.Management.Automation.PSCredential RTPRRE\Adm
inistrator
patriots.homeserver.com System.Management.Automation.PSCredential RTPRRE\Adm
inistrator
10.61.172.155 System.Management.Automation.PSCredential RTPRRE\Adm
inistrator
cerebus System.Management.Automation.PSCredential RTPRRE\Adm
inistrator
RELATED LINKS
Add-NcCredential
Remove-NcCredential
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|