> For the complete documentation index, see [llms.txt](https://docs.lithnet.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lithnet.io/password-protection/v1.0/advanced-help/powershell-reference.md).

# Powershell reference

The PowerShell module contains the following cmdlets

| Cmdlet                                                                                                                               | Description                                                                                                       |
| ------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- |
| [Add‐BannedWord](/password-protection/v1.0/advanced-help/powershell-reference/add-bannedword.md)                                     | Adds a new word to the banned word store                                                                          |
| [Add‐CompromisedPassword](/password-protection/v1.0/advanced-help/powershell-reference/add-compromisedpassword.md)                   | Adds a new password to the compromised password store                                                             |
| [Get‐PasswordFilterResult](/password-protection/v1.0/advanced-help/powershell-reference/get-passwordfilterresult.md)                 | Tests the result of the full password policy set against a specified password                                     |
| [Import‐BannedWordHashes](/password-protection/v1.0/advanced-help/powershell-reference/import-bannedwordhashes.md)                   | Imports a file contained hashes of banned words                                                                   |
| [Import‐BannedWords](/password-protection/v1.0/advanced-help/powershell-reference/import-bannedwords.md)                             | Imports a file containing banned words                                                                            |
| [Import‐CompromisedPasswordHashes](/password-protection/v1.0/advanced-help/powershell-reference/import-compromisedpasswordhashes.md) | Imports a file containing hashes of compromised passwords                                                         |
| [Import‐CompromisedPasswords](/password-protection/v1.0/advanced-help/powershell-reference/import-compromisedpasswords.md)           | Imports a file containing compromised plain-text passwords                                                        |
| [Open‐Store](/password-protection/v1.0/advanced-help/powershell-reference/open-store.md)                                             | Opens a store                                                                                                     |
| [Remove‐BannedWord](/password-protection/v1.0/advanced-help/powershell-reference/remove-bannedword.md)                               | Removes a word from the banned word store                                                                         |
| [Remove‐CompromisedPassword](/password-protection/v1.0/advanced-help/powershell-reference/remove-compromisedpassword.md)             | Removes a password from the compromised password store                                                            |
| [Test‐IsADUserPasswordCompromised](/password-protection/v1.0/advanced-help/powershell-reference/test-isaduserpasswordcompromised.md) | Extracts the hash of an AD user's password from the directory and tests it against the compromised password store |
| [Test‐IsBannedWord](/password-protection/v1.0/advanced-help/powershell-reference/test-isbannedword.md)                               | Tests to see if the specified string matches an item in banned word store                                         |
| [Test‐IsCompromisedPassword](/password-protection/v1.0/advanced-help/powershell-reference/test-iscompromisedpassword.md)             | Tests to see if the specified string is in the compromised password store                                         |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.lithnet.io/password-protection/v1.0/advanced-help/powershell-reference.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
