Skip to content

New-Credential

SYNOPSIS

Create a new secure credential.

SYNTAX

New-Credential [<CommonParameters>]

DESCRIPTION

Create a new secure credential to use in other functions.

EXAMPLES

EXAMPLE 1

$Credential = New-Credential

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES