{"id":14980373,"url":"https://github.com/rhymeswithmogul/pspasswordgenerator","last_synced_at":"2025-10-29T00:30:21.673Z","repository":{"id":55788582,"uuid":"320687273","full_name":"rhymeswithmogul/PSPasswordGenerator","owner":"rhymeswithmogul","description":"A PowerShell module to generate passwords as random as you want them.","archived":false,"fork":false,"pushed_at":"2024-11-03T16:44:42.000Z","size":399,"stargazers_count":9,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T20:11:22.290Z","etag":null,"topics":["passcode","password","password-generator","passwords","powershell","powershell-core","powershell-module","powershell-modules","pwsh","sysadmin","sysadmin-tool","windows-powershell"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhymeswithmogul.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.txt","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-11T21:25:24.000Z","updated_at":"2024-12-14T06:03:42.000Z","dependencies_parsed_at":"2024-02-14T03:36:31.883Z","dependency_job_id":null,"html_url":"https://github.com/rhymeswithmogul/PSPasswordGenerator","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":0.2727272727272727,"last_synced_commit":"7d1b62bbb39893ae50d1437fd386e2d79e49653a"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhymeswithmogul%2FPSPasswordGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhymeswithmogul%2FPSPasswordGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhymeswithmogul%2FPSPasswordGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhymeswithmogul%2FPSPasswordGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhymeswithmogul","download_url":"https://codeload.github.com/rhymeswithmogul/PSPasswordGenerator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238743846,"owners_count":19523188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["passcode","password","password-generator","passwords","powershell","powershell-core","powershell-module","powershell-modules","pwsh","sysadmin","sysadmin-tool","windows-powershell"],"created_at":"2024-09-24T14:01:40.514Z","updated_at":"2025-10-29T00:30:21.313Z","avatar_url":"https://github.com/rhymeswithmogul.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PowerShell Gallery Version (including pre-releases)](https://img.shields.io/powershellgallery/v/PSPasswordGenerator?include_prereleases)](https://powershellgallery.com/packages/PSPasswordGenerator/) [![PowerShell Gallery](https://img.shields.io/powershellgallery/dt/PSPasswordGenerator)](https://powershellgallery.com/packages/v/PSPasswordGenerator)\r\n\r\n# PowerShell PSPasswordGenerator Module\r\nThis module provides a convenient way to generate passwords that are at most as cryptographically secure as the `Get-Random` cmdlet's source of entropy can provide.\r\n\r\n## Installation\r\nYou can install the `PSPasswordGenerator` module from the PowerShell Gallery:\r\n```powershell\r\nInstall-Module [-Name] PSPasswordGenerator [-Repository PSGallery]\r\n```\r\n\r\nOr, do a `git clone` into your `${env:PSModulePath}` and work with the latest development version.\r\n\r\nThis module is compatible with PowerShell 7, and it will be compatible with the legacy version of Windows PowerShell 5.1 for as long as possible.\r\n\r\n## Usage\r\nBy default, this cmdlet returns password as a `SecureString` object.  This is great for PowerShell scripting, as the password is protected in memory.  For example, you could build a `PSCredential` object with the highest entropy possible that's still compatible with Active Directory Domain Services.  This is a way to configure a Windows Server DHCP Server service.\r\n\r\n```powershell\r\nPS\u003e Import-Module PSPasswordGenerator\r\nPS\u003e $passwd = Get-RandomPassword -Length 240 -UseExtendedAscii -UseAmbigiousCharacters\r\nPS\u003e $credentials = [Management.Automation.PSCredential]::new('DOMAIN\\_ServiceAccount', $passwd)\r\n\r\nPS\u003e Import-Module DHCPServer\r\nPS\u003e Set-DHCPServerDNSCredential -Credential $credentials\r\n```\r\n\r\nHowever, in many cases, you might be using this module to generate random passwords for use outside of PowerShell.  In that case, supply the `-AsPlainText` parameter.  (As this is a valid use, I won't make you also include the `-Force` parameter.)\r\n```powershell\r\nPS\u003e Get-RandomPassword -Length 32 -AsPlainText\r\ni%eS+R5y4q^4wZ#E\u003e(kNCKuU]R}hQZ\"H\r\n```\r\n\r\nOr, you can make something secure but a lot more human-friendly with the new word list support!  (\u003cabbr title=\"Bring your own\"\u003eBYO\u003c/abbr\u003e wordlist.)\r\n```\r\nPS\u003e Get-RandomPassword -Words 3 -WordList 'my-wordlist.txt'\r\nillustration.Mainspring\"Muleteer\r\n```\r\n\r\nThen, copy and paste that into whatever service or device is asking for a password.\r\n\r\n## Disclaimers\r\nThis module is not developed, endorsed, or known by Microsoft.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhymeswithmogul%2Fpspasswordgenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhymeswithmogul%2Fpspasswordgenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhymeswithmogul%2Fpspasswordgenerator/lists"}