> 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/advanced-help/powershell-reference.md).

# Powershell reference

The PowerShell module contains the following cmdlets

| Cmdlet                                                                                                                          | Description                                                                                                       |
| ------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| [Add‐BannedWord](/password-protection/advanced-help/powershell-reference/add-bannedword.md)                                     | Adds a new word to the banned word store                                                                          |
| [Add‐CompromisedPassword](/password-protection/advanced-help/powershell-reference/add-compromisedpassword.md)                   | Adds a new password to the compromised password store                                                             |
| [Get‐PasswordFilterConfig](/password-protection/advanced-help/powershell-reference/get-passwordfilterconfig.md)                 | Tests the result of the full password policy set against a specified password                                     |
| [Get‐PasswordFilterPolicy](/password-protection/advanced-help/powershell-reference/get-passwordfilterpolicy.md)                 | Gets the current configuration of the password filter                                                             |
| [Get‐PasswordFilterResult](/password-protection/advanced-help/powershell-reference/get-passwordfilterresult.md)                 | Gets the effective policy applied by the password filter                                                          |
| [Import‐BannedWordHashes](/password-protection/advanced-help/powershell-reference/import-bannedwordhashes.md)                   | Imports a file contained hashes of banned words                                                                   |
| [Import‐BannedWords](/password-protection/advanced-help/powershell-reference/import-bannedwords.md)                             | Imports a file containing banned words                                                                            |
| [Import‐CompromisedPasswordHashes](/password-protection/advanced-help/powershell-reference/import-compromisedpasswordhashes.md) | Imports a file containing hashes of compromised passwords                                                         |
| [Import‐CompromisedPasswords](/password-protection/advanced-help/powershell-reference/import-compromisedpasswords.md)           | Imports a file containing compromised plain-text passwords                                                        |
| [Open‐Store](/password-protection/advanced-help/powershell-reference/open-store.md)                                             | Opens a store                                                                                                     |
| [Remove‐BannedWord](/password-protection/advanced-help/powershell-reference/remove-bannedword.md)                               | Removes a word from the banned word store                                                                         |
| [Remove‐CompromisedPassword](/password-protection/advanced-help/powershell-reference/remove-compromisedpassword.md)             | Removes a password from the compromised password store                                                            |
| [Set-PasswordFilterConfig](/password-protection/advanced-help/powershell-reference/set-passwordfilterconfig.md)                 | Sets configuration of the password filter                                                                         |
| [Sync-HashesFromHibp](/password-protection/advanced-help/powershell-reference/sync-hashesfromhibp.md)                           | Synchronizes compromised passwords hashes from the Have I Been Pwned API                                          |
| [Test‐IsADUserPasswordCompromised](/password-protection/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/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/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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
