-
Notifications
You must be signed in to change notification settings - Fork 0
Get CredentialValidate
Mateusz Czerniawski edited this page Feb 20, 2018
·
3 revisions
PPoShTools -> Get-CredentialValidate.ps1
Get domain credential.
Get-CredentialValidate [-UserName <String>] [-Credential <PSCredential>]
[<CommonParameters>]
Get and check domain credential.
Specify UserName.
- DefaultValue: "$env:USERDOMAIN$env:USERNAME"
- PipelineInput: false
- Required: false
Specify Credential as PSCredential.
- PipelineInput: false
- Required: false
Get-CredentialValidate
Get credential, check them and if correct pass them by.
Get-CredentialValidate -Verbose
Show login and password on the screen. Get credential, check them and pass them by if correct.
$Credentials = Get-Credential
Get-CredentialValidate -Credential $Credentials
Check credential specify as parameter and if correct pass them by.