Simulates an Authentication Request in a Domain envrionment using a PSCredential Object. Returns $true if both Username and Password pair are valid.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Test-Credential

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Thomas Malkewitz @dotps1

Package Details



dotps1 PSCredential Credential Function PSFunction


This script has no dependencies.

Release Notes

Removed pipeline support and PSCredential Array functionality.
This Script-Function can now only be used to test one credential at a time.


Version History

Version Downloads Last updated
1.4 (current version) 780 3/16/2017
1.3 173 7/22/2016
1.2 212 12/1/2015
1.1 19 12/1/2015