Check passwords and hashes against the Pwned Passwords API. Also supports third party equivalent APIs.

Minimum PowerShell version


Installation Options

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

Install-Module -Name PwnedPassCheck

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


Ryan Bolger


(c) 2019 Ryan Bolger. All rights reserved.



Security HIBP HaveIBeenPwned InfoSec Linux Mac


Get-NTLMHash Get-PwnedHash Get-PwnedHashBytes Get-PwnedPassword Get-SHA1Hash Test-PwnedHash Test-PwnedHashBytes Test-PwnedPassword


Desktop Core


This module has no dependencies.

Release Notes

## 2.0.0 (2020-02-17)

### Breaking Changes

* To better adhere to PowerShell naming standards, `Test-PwnedPassword`, `Test-PwnedHash`, and `Test-PwnedHashBytes` have been renamed to `Get-PwnedPassword`, `Get-PwnedHash`, and `Get-PwnedHashBytes` respectively.
* New versions of `Test-PwnedPassword`, `Test-PwnedHash`, and `Test-PwnedHashBytes` have been added that return a simple boolean value to indicate whether the password/hash was seen in a breach or not.
* The Label property is no longer added to results unless it is requested.

Version History

Version Downloads Last updated
2.0.0 (current version) 795 2/19/2021
1.2.0 42 11/2/2020
1.1.0 155 8/13/2019
1.0.0 14 8/11/2019