{"id":23379013,"url":"https://github.com/santisq/get-customcredential","last_synced_at":"2026-04-24T20:36:07.843Z","repository":{"id":142179287,"uuid":"382963861","full_name":"santisq/Get-CustomCredential","owner":"santisq","description":"Get-Credential but allows resizing :O","archived":false,"fork":false,"pushed_at":"2022-09-28T18:41:03.000Z","size":74,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T20:06:33.591Z","etag":null,"topics":["powershell","winforms"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/santisq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-04T22:59:44.000Z","updated_at":"2024-09-17T03:45:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3bf3d43-2ff2-4d7a-9783-4d03f34ec065","html_url":"https://github.com/santisq/Get-CustomCredential","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/santisq/Get-CustomCredential","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santisq%2FGet-CustomCredential","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santisq%2FGet-CustomCredential/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santisq%2FGet-CustomCredential/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santisq%2FGet-CustomCredential/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santisq","download_url":"https://codeload.github.com/santisq/Get-CustomCredential/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santisq%2FGet-CustomCredential/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32240135,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["powershell","winforms"],"created_at":"2024-12-21T19:16:10.625Z","updated_at":"2026-04-24T20:36:07.825Z","avatar_url":"https://github.com/santisq.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Get-CustomCredential\n\n### DESCRIPTION\nSimilar to the builtin PowerShell cmdlet [`Get-Credential`](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/get-credential?view=powershell-5.1) but this one allows resizing. Initially posted as answer to [this question](https://stackoverflow.com/questions/68240512/is-there-another-way-to-ask-for-credentials-in-powershell-but-get-credential/68240960) on StackOverflow.\n    \n### OUTPUTS\n- [`System.Management.Automation.PSCredential`](https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.pscredential?view=powershellsdk-7.0.0)\n\n### REQUIREMENTS\n- PowerShell v5.1+ (Untested on PS Core)\u003c/li\u003e\n\n### EXAMPLE\n\n![examplegif](/Example/customGetCred.gif?raw=true)\n\n### CEDITS\n\n- Sources for DPI awareness C# code:\n   - https://hinchley.net/articles/get-the-scaling-rate-of-a-display-using-powershell/\n   - https://www.osdeploy.com/modules/pshot/technical/resolution-scale-and-dpi\n- Special thanks to [mklement0](https://stackoverflow.com/users/45375/mklement0) for helping me improve the code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantisq%2Fget-customcredential","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantisq%2Fget-customcredential","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantisq%2Fget-customcredential/lists"}