GetCredentialCommand Class

The Get-Credential cmdlet class that is implemented by Windows PowerShell. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.


Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Security (in Microsoft.PowerShell.Security.dll)

'Usage
Dim instance As GetCredentialCommand

[OutputTypeAttribute(System.Compiler.TypeNode[], ParameterSetName=System.String[])] 
[CmdletAttribute("Get", "Credential", DefaultParameterSetName="CredentialSet", HelpUri="http://go.microsoft.com/fwlink/?LinkID=113311")] 
public sealed class GetCredentialCommand : PSCmdlet
/** @attribute OutputTypeAttribute(System.Compiler.TypeNode[], ParameterSetName=System.String[]) */ 
/** @attribute CmdletAttribute("Get", "Credential", DefaultParameterSetName="CredentialSet", HelpUri="http://go.microsoft.com/fwlink/?LinkID=113311") */ 
public final class GetCredentialCommand extends PSCmdlet
OutputTypeAttribute(System.Compiler.TypeNode[], ParameterSetName=System.String[]) 
CmdletAttribute("Get", "Credential", DefaultParameterSetName="CredentialSet", HelpUri="http://go.microsoft.com/fwlink/?LinkID=113311") 
public final class GetCredentialCommand extends PSCmdlet

This cmdlet retrieves a credential object based on a user name and password. For more information about this cmdlet, see Get-Credential in the Microsoft TechNet library.

For Help at the command line, type:

get-help get-credential


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show: